]> git.hungrycats.org Git - linux/commit
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:15:13 +0000 (17:15 +0000)
commite08a8d94f98232934c234ee21da28f7e22182c88
tree6ebaa2d4b11261eb902234c0d682075d467aa1aa
parent3ec63129137e56ff893c57fa20273520bbd12b8a
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