]> www.infradead.org Git - users/jedix/linux-maple.git/commit
f2fs: print message if fscorrupted was found in f2fs_new_node_page()
authorChao Yu <chao@kernel.org>
Wed, 20 Nov 2024 06:58:50 +0000 (14:58 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Nov 2024 16:16:39 +0000 (16:16 +0000)
commit81520c684ca67aea6a589461a3caebb9b11dcc90
treee83d117c09353fee4be4a51237fc4b5c47eaba54
parentf88c7904b5c7e35ab8037e2a59e10d80adf6fd7e
f2fs: print message if fscorrupted was found in f2fs_new_node_page()

If fs corruption occurs in f2fs_new_node_page(), let's print
more information about corrupted metadata into kernel log.

Meanwhile, it updates to record ERROR_INCONSISTENT_NAT instead
of ERROR_INVALID_BLKADDR if blkaddr in nat entry is not
NULL_ADDR which means nat bitmap and nat entry is inconsistent.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c