BACKPORT: f2fs: fix wrong total_sections check and fsmeta check
Meta area is not included in section_count computation. So the minimum number of total_sections is 1 meanwhile it cannot be greater than segment_count_main. The minimum number of meta segments is 8 (SB + 2 (CP + SIT + NAT) + SSA). Bug: 208371174 Signed-off-by:Wang Xiaojun <wangxiaojun11@huawei.com> Reviewed-by:
Chao Yu <yuchao0@huawei.com> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit 56faf97ebce8) Change-Id: I36a97300e13bd760c29958bc36d85b441dd40eaa
Loading
Please register or sign in to comment