Commit 249ad438 authored by yohan.joung's avatar yohan.joung Committed by Jaegeuk Kim
Browse files

f2fs: add a method for calculating the remaining blocks in the current segment in LFS mode.



In LFS mode, the previous segment cannot use invalid blocks,
so the remaining blocks from the next_blkoff of the current segment
to the end of the section are calculated.

Signed-off-by: default avataryohan.joung <yohan.joung@sk.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 54ca9be0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment