Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c79b7ff1 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: fix wrong written_valid_blocks counting



Previously, written_valid_blocks was got by ckpt->valid_block_count. But if
the last checkpoint has some NEW_ADDR due to power-cut, we can get wrong value.
Fix it to get the number from actual written block count from sit entries.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 7702bdbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment