diff options
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r-- | include/linux/fuse.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 61f34636ffbc..bf564edf9905 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h | |||
@@ -80,6 +80,10 @@ enum fuse_opcode { | |||
80 | FUSE_STATFS = 17, | 80 | FUSE_STATFS = 17, |
81 | FUSE_RELEASE = 18, | 81 | FUSE_RELEASE = 18, |
82 | FUSE_FSYNC = 20, | 82 | FUSE_FSYNC = 20, |
83 | FUSE_SETXATTR = 21, | ||
84 | FUSE_GETXATTR = 22, | ||
85 | FUSE_LISTXATTR = 23, | ||
86 | FUSE_REMOVEXATTR = 24, | ||
83 | FUSE_FLUSH = 25, | 87 | FUSE_FLUSH = 25, |
84 | FUSE_INIT = 26 | 88 | FUSE_INIT = 26 |
85 | }; | 89 | }; |
@@ -89,6 +93,7 @@ enum fuse_opcode { | |||
89 | 93 | ||
90 | #define FUSE_NAME_MAX 1024 | 94 | #define FUSE_NAME_MAX 1024 |
91 | #define FUSE_SYMLINK_MAX 4096 | 95 | #define FUSE_SYMLINK_MAX 4096 |
96 | #define FUSE_XATTR_SIZE_MAX 4096 | ||
92 | 97 | ||
93 | struct fuse_entry_out { | 98 | struct fuse_entry_out { |
94 | __u64 nodeid; /* Inode ID */ | 99 | __u64 nodeid; /* Inode ID */ |
@@ -183,6 +188,19 @@ struct fuse_fsync_in { | |||
183 | __u32 fsync_flags; | 188 | __u32 fsync_flags; |
184 | }; | 189 | }; |
185 | 190 | ||
191 | struct fuse_setxattr_in { | ||
192 | __u32 size; | ||
193 | __u32 flags; | ||
194 | }; | ||
195 | |||
196 | struct fuse_getxattr_in { | ||
197 | __u32 size; | ||
198 | }; | ||
199 | |||
200 | struct fuse_getxattr_out { | ||
201 | __u32 size; | ||
202 | }; | ||
203 | |||
186 | struct fuse_init_in_out { | 204 | struct fuse_init_in_out { |
187 | __u32 major; | 205 | __u32 major; |
188 | __u32 minor; | 206 | __u32 minor; |