aboutsummaryrefslogtreecommitdiffstats
path: root/fs/squashfs/squashfs.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-16 23:06:56 -0400
committerPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-17 14:54:06 -0400
commit67f66cc6c728de183d9d43c243cb163c1ebd8e04 (patch)
treebd175ed5f66594ad76d099461560c3fe8a01181c /fs/squashfs/squashfs.h
parentf41d207cbedecd82f797adcce83890aa96f1c9e9 (diff)
squashfs: add new extended inode types
Add new extended inode types that store the xattr_id field. Also add the necessary code changes to make xattrs visibile. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/squashfs.h')
-rw-r--r--fs/squashfs/squashfs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h
index 133befe2f8b8..7d2381070581 100644
--- a/fs/squashfs/squashfs.h
+++ b/fs/squashfs/squashfs.h
@@ -73,6 +73,9 @@ extern struct inode *squashfs_iget(struct super_block *, long long,
73 unsigned int); 73 unsigned int);
74extern int squashfs_read_inode(struct inode *, long long); 74extern int squashfs_read_inode(struct inode *, long long);
75 75
76/* xattr.c */
77extern ssize_t squashfs_listxattr(struct dentry *, char *, size_t);
78
76/* xattr_id.c */ 79/* xattr_id.c */
77extern int squashfs_xattr_lookup(struct super_block *, unsigned int, int *, 80extern int squashfs_xattr_lookup(struct super_block *, unsigned int, int *,
78 int *, long long *); 81 int *, long long *);
@@ -80,7 +83,7 @@ extern __le64 *squashfs_read_xattr_id_table(struct super_block *, u64,
80 u64 *, int *); 83 u64 *, int *);
81 84
82/* 85/*
83 * Inodes, files and decompressor operations 86 * Inodes, files, decompressor and xattr operations
84 */ 87 */
85 88
86/* dir.c */ 89/* dir.c */
@@ -92,11 +95,18 @@ extern const struct export_operations squashfs_export_ops;
92/* file.c */ 95/* file.c */
93extern const struct address_space_operations squashfs_aops; 96extern const struct address_space_operations squashfs_aops;
94 97
98/* inode.c */
99extern const struct inode_operations squashfs_inode_ops;
100
95/* namei.c */ 101/* namei.c */
96extern const struct inode_operations squashfs_dir_inode_ops; 102extern const struct inode_operations squashfs_dir_inode_ops;
97 103
98/* symlink.c */ 104/* symlink.c */
99extern const struct address_space_operations squashfs_symlink_aops; 105extern const struct address_space_operations squashfs_symlink_aops;
106extern const struct inode_operations squashfs_symlink_inode_ops;
107
108/* xattr.c */
109extern struct xattr_handler *squashfs_xattr_handlers[];
100 110
101/* zlib_wrapper.c */ 111/* zlib_wrapper.c */
102extern const struct squashfs_decompressor squashfs_zlib_comp_ops; 112extern const struct squashfs_decompressor squashfs_zlib_comp_ops;