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:07:18 +0000 (17:07 +0000)
commit6122b72ce54a2abe1c3b3886303a7faeab245c1b
tree94ccd8eb29e2a94c4591dcd091cbb6da528950ee
parente6fa9ac60fae6d1031cd9ad847ead8e31cba93e9
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