]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: do sanity check on inode footer in f2fs_get_inode_page()
authorChao Yu <chao@kernel.org>
Wed, 5 Mar 2025 09:11:46 +0000 (17:11 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 11 Mar 2025 03:25:53 +0000 (03:25 +0000)
commit1cf6b5670af1f4e9d5bf2f7201e368733c59cbdd
treeaba3c39b15651a301476b63751de1376d885b6fa
parentc2ecba026586cda6c7dc0fe9e6e60e7e9386c3bd
f2fs: do sanity check on inode footer in f2fs_get_inode_page()

This patch introduces a new wrapper f2fs_get_inode_page(), then, caller
can use it to load inode block to page cache, meanwhile it will do sanity
check on inode footer.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/xattr.c