OSDN Git Service

f2fs: cleanup the code in build_sit_entries.
authorLihong Kou <koulihong@huawei.com>
Mon, 5 Aug 2019 11:13:52 +0000 (19:13 +0800)
committer0ranko0P <ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:24 +0000 (04:42 +0800)
commitba8ee9fe8130ce10987fb96ac99c6fc5b245bba2
tree7351d34e3f65e72476e35202a6a71c5008563dda
parent93bda2927306d29225db3214479eed9449959783
f2fs: cleanup the code in build_sit_entries.

We do not need to set the SBI_NEED_FSCK flag in the error paths, if we
return error here, we will not update the checkpoint flag, so the code
is useless, just remove it.

Signed-off-by: Lihong Kou <koulihong@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c