]> Gentwo Git Trees - linux/.git/commit
f2fs: do sanity check on xattr node footer in f2fs_get_xnode_page()
authorChao Yu <chao@kernel.org>
Wed, 5 Mar 2025 09:11:47 +0000 (17:11 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 11 Mar 2025 03:25:53 +0000 (03:25 +0000)
commit2aac2538a97d35b0a1beb60dce6001f5625b82e6
tree6952af0ed6843f43ee3b62e2f47267dcbe157a34
parent1cf6b5670af1f4e9d5bf2f7201e368733c59cbdd
f2fs: do sanity check on xattr node footer in f2fs_get_xnode_page()

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

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