summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2025-03-05 17:11:47 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2025-03-11 03:25:53 +0000
commit2aac2538a97d35b0a1beb60dce6001f5625b82e6 (patch)
tree6952af0ed6843f43ee3b62e2f47267dcbe157a34 /fs/f2fs/node.h
parentf2fs: do sanity check on inode footer in f2fs_get_inode_page() (diff)
downloadlinux-2aac2538a97d35b0a1beb60dce6001f5625b82e6.tar.gz
linux-2aac2538a97d35b0a1beb60dce6001f5625b82e6.zip
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>
Diffstat (limited to 'fs/f2fs/node.h')
-rw-r--r--fs/f2fs/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index 5079c6a2298d..103a437e6425 100644
--- a/fs/f2fs/node.h
+++ b/fs/f2fs/node.h
@@ -56,6 +56,7 @@ enum {
enum node_type {
NODE_TYPE_REGULAR,
NODE_TYPE_INODE,
+ NODE_TYPE_XATTR,
};
/*