BACKPORT: f2fs: check number of blocks in a current section
In cfd66bb7 ("f2fs: fix deadloop in foreground GC"), we needed to check the number of blocks in a section instead of the segment. Bug: 384588553 Fixes: cfd66bb7 ("f2fs: fix deadloop in foreground GC") Change-Id: I29531de9d0c826765241118c1e71e5205b6483d1 Signed-off-by:Jaegeuk Kim <jaegeuk@kernel.org> Reviewed-by:
Chao Yu <chao@kernel.org> (cherry picked from commit 7af2df0f)
Loading