f2fs: do not return EFSCORRUPTED, but try to run online repair
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 19 Oct 2023 22:51:08 +0000 (15:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:20:11 +0000 (17:20 +0000)
commit9de9f078bdf58e70653f9db91abf7dd9f87bf98b
treeb8ac88b31f7b23b2bc304ee33ffe79745bdad800
parent74ee67b1a776db627a9f6766b1a09b10dfe66528
f2fs: do not return EFSCORRUPTED, but try to run online repair

commit 50a472bbc79ff9d5a88be8019a60e936cadf9f13 upstream.

If we return the error, there's no way to recover the status as of now, since
fsck does not fix the xattr boundary issue.

Cc: stable@vger.kernel.org
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/node.c
fs/f2fs/xattr.c