f2fs: support recording errors into superblock
authorChao Yu <chao@kernel.org>
Wed, 28 Sep 2022 15:38:54 +0000 (23:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Oct 2022 20:31:45 +0000 (13:31 -0700)
commit95fa90c9e5a7f14c2497d5b032544478c9377c3a
treec5a868cfae65b1d969a30a1cdb750a4813f5cad1
parenta9cfee0ef98e99c8b1951dfd1d57a88580354d0d
f2fs: support recording errors into superblock

This patch supports to record detail reason of FSCORRUPTED error into
f2fs_super_block.s_errors[].

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
16 files changed:
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c
fs/f2fs/verity.c
fs/f2fs/xattr.c
include/linux/f2fs_fs.h