diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 16:35:17 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 16:35:17 -0500 |
commit | 21b4e736922f546e0f1aa7b9d6c442f309a2444a (patch) | |
tree | e1be8645297f8ebe87445251743ebcc52081a20d /include/linux/fuse.h | |
parent | 34161db6b14d984fb9b06c735b7b42f8803f6851 (diff) | |
parent | 68380b581383c028830f79ec2670f4a193854aa6 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linus
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r-- | include/linux/fuse.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 9fc48a674b82..534744efe30d 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h | |||
@@ -15,7 +15,7 @@ | |||
15 | #define FUSE_KERNEL_VERSION 7 | 15 | #define FUSE_KERNEL_VERSION 7 |
16 | 16 | ||
17 | /** Minor version number of this interface */ | 17 | /** Minor version number of this interface */ |
18 | #define FUSE_KERNEL_MINOR_VERSION 7 | 18 | #define FUSE_KERNEL_MINOR_VERSION 8 |
19 | 19 | ||
20 | /** The node ID of the root inode */ | 20 | /** The node ID of the root inode */ |
21 | #define FUSE_ROOT_ID 1 | 21 | #define FUSE_ROOT_ID 1 |
@@ -92,6 +92,11 @@ struct fuse_file_lock { | |||
92 | #define FUSE_ASYNC_READ (1 << 0) | 92 | #define FUSE_ASYNC_READ (1 << 0) |
93 | #define FUSE_POSIX_LOCKS (1 << 1) | 93 | #define FUSE_POSIX_LOCKS (1 << 1) |
94 | 94 | ||
95 | /** | ||
96 | * Release flags | ||
97 | */ | ||
98 | #define FUSE_RELEASE_FLUSH (1 << 0) | ||
99 | |||
95 | enum fuse_opcode { | 100 | enum fuse_opcode { |
96 | FUSE_LOOKUP = 1, | 101 | FUSE_LOOKUP = 1, |
97 | FUSE_FORGET = 2, /* no reply */ | 102 | FUSE_FORGET = 2, /* no reply */ |
@@ -127,6 +132,8 @@ enum fuse_opcode { | |||
127 | FUSE_ACCESS = 34, | 132 | FUSE_ACCESS = 34, |
128 | FUSE_CREATE = 35, | 133 | FUSE_CREATE = 35, |
129 | FUSE_INTERRUPT = 36, | 134 | FUSE_INTERRUPT = 36, |
135 | FUSE_BMAP = 37, | ||
136 | FUSE_DESTROY = 38, | ||
130 | }; | 137 | }; |
131 | 138 | ||
132 | /* The read buffer is required to be at least 8k, but may be much larger */ | 139 | /* The read buffer is required to be at least 8k, but may be much larger */ |
@@ -205,12 +212,13 @@ struct fuse_open_out { | |||
205 | struct fuse_release_in { | 212 | struct fuse_release_in { |
206 | __u64 fh; | 213 | __u64 fh; |
207 | __u32 flags; | 214 | __u32 flags; |
208 | __u32 padding; | 215 | __u32 release_flags; |
216 | __u64 lock_owner; | ||
209 | }; | 217 | }; |
210 | 218 | ||
211 | struct fuse_flush_in { | 219 | struct fuse_flush_in { |
212 | __u64 fh; | 220 | __u64 fh; |
213 | __u32 flush_flags; | 221 | __u32 unused; |
214 | __u32 padding; | 222 | __u32 padding; |
215 | __u64 lock_owner; | 223 | __u64 lock_owner; |
216 | }; | 224 | }; |
@@ -296,6 +304,16 @@ struct fuse_interrupt_in { | |||
296 | __u64 unique; | 304 | __u64 unique; |
297 | }; | 305 | }; |
298 | 306 | ||
307 | struct fuse_bmap_in { | ||
308 | __u64 block; | ||
309 | __u32 blocksize; | ||
310 | __u32 padding; | ||
311 | }; | ||
312 | |||
313 | struct fuse_bmap_out { | ||
314 | __u64 block; | ||
315 | }; | ||
316 | |||
299 | struct fuse_in_header { | 317 | struct fuse_in_header { |
300 | __u32 len; | 318 | __u32 len; |
301 | __u32 opcode; | 319 | __u32 opcode; |