]> xenbits.xensource.com Git - people/aperard/linux.git/commit
f2fs: check number of blocks in a current section
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Feb 2024 20:32:05 +0000 (12:32 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 29 Feb 2024 16:34:34 +0000 (08:34 -0800)
commit7af2df0f67a1469762e59be3726a803882d83f6f
treea3541b8b85f58c3bdda3306892208a2b46f989ea
parentde25240756cde07c1e5294279aac632599a91a53
f2fs: check number of blocks in a current section

In cfd66bb715fd ("f2fs: fix deadloop in foreground GC"), we needed to check
the number of blocks in a section instead of the segment.

Fixes: cfd66bb715fd ("f2fs: fix deadloop in foreground GC")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.h