summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorZhiguo Niu <zhiguo.niu@unisoc.com>2023-10-16 19:27:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:19:45 +0000
commit0237975d8e3ec10c07b8169e22a6cea35afd8475 (patch)
treed2b22c33562ba190f40f727f5633e4e627a43b54 /certs
parente69ec2352087d9b6f5bcf31dbd4c14028b74671a (diff)
downloadlinux-starfive-0237975d8e3ec10c07b8169e22a6cea35afd8475.tar.gz
linux-starfive-0237975d8e3ec10c07b8169e22a6cea35afd8475.tar.bz2
linux-starfive-0237975d8e3ec10c07b8169e22a6cea35afd8475.zip
f2fs: fix error path of __f2fs_build_free_nids
[ Upstream commit a5e80e18f268ea7c7a36bc4159de0deb3b5a2171 ] If NAT is corrupted, let scan_nat_page() return EFSCORRUPTED, so that, caller can set SBI_NEED_FSCK flag into checkpoint for later repair by fsck. Also, this patch introduces a new fscorrupted error flag, and in above scenario, it will persist the error flag into superblock synchronously to avoid it has no luck to trigger a checkpoint to record SBI_NEED_FSCK Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com> Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions