diff options
Diffstat (limited to 'include/linux/fuse.h')
| -rw-r--r-- | include/linux/fuse.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 464cff526860..8ba2c9460b28 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h | |||
| @@ -50,6 +50,10 @@ | |||
| 50 | * | 50 | * |
| 51 | * 7.17 | 51 | * 7.17 |
| 52 | * - add FUSE_FLOCK_LOCKS and FUSE_RELEASE_FLOCK_UNLOCK | 52 | * - add FUSE_FLOCK_LOCKS and FUSE_RELEASE_FLOCK_UNLOCK |
| 53 | * | ||
| 54 | * 7.18 | ||
| 55 | * - add FUSE_IOCTL_DIR flag | ||
| 56 | * - add FUSE_NOTIFY_DELETE | ||
| 53 | */ | 57 | */ |
| 54 | 58 | ||
| 55 | #ifndef _LINUX_FUSE_H | 59 | #ifndef _LINUX_FUSE_H |
| @@ -81,7 +85,7 @@ | |||
| 81 | #define FUSE_KERNEL_VERSION 7 | 85 | #define FUSE_KERNEL_VERSION 7 |
| 82 | 86 | ||
| 83 | /** Minor version number of this interface */ | 87 | /** Minor version number of this interface */ |
| 84 | #define FUSE_KERNEL_MINOR_VERSION 17 | 88 | #define FUSE_KERNEL_MINOR_VERSION 18 |
| 85 | 89 | ||
| 86 | /** The node ID of the root inode */ | 90 | /** The node ID of the root inode */ |
| 87 | #define FUSE_ROOT_ID 1 | 91 | #define FUSE_ROOT_ID 1 |
| @@ -214,6 +218,7 @@ struct fuse_file_lock { | |||
| 214 | * FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed | 218 | * FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed |
| 215 | * FUSE_IOCTL_RETRY: retry with new iovecs | 219 | * FUSE_IOCTL_RETRY: retry with new iovecs |
| 216 | * FUSE_IOCTL_32BIT: 32bit ioctl | 220 | * FUSE_IOCTL_32BIT: 32bit ioctl |
| 221 | * FUSE_IOCTL_DIR: is a directory | ||
| 217 | * | 222 | * |
| 218 | * FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs | 223 | * FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs |
| 219 | */ | 224 | */ |
| @@ -221,6 +226,7 @@ struct fuse_file_lock { | |||
| 221 | #define FUSE_IOCTL_UNRESTRICTED (1 << 1) | 226 | #define FUSE_IOCTL_UNRESTRICTED (1 << 1) |
| 222 | #define FUSE_IOCTL_RETRY (1 << 2) | 227 | #define FUSE_IOCTL_RETRY (1 << 2) |
| 223 | #define FUSE_IOCTL_32BIT (1 << 3) | 228 | #define FUSE_IOCTL_32BIT (1 << 3) |
| 229 | #define FUSE_IOCTL_DIR (1 << 4) | ||
| 224 | 230 | ||
| 225 | #define FUSE_IOCTL_MAX_IOV 256 | 231 | #define FUSE_IOCTL_MAX_IOV 256 |
| 226 | 232 | ||
| @@ -283,6 +289,7 @@ enum fuse_notify_code { | |||
| 283 | FUSE_NOTIFY_INVAL_ENTRY = 3, | 289 | FUSE_NOTIFY_INVAL_ENTRY = 3, |
| 284 | FUSE_NOTIFY_STORE = 4, | 290 | FUSE_NOTIFY_STORE = 4, |
| 285 | FUSE_NOTIFY_RETRIEVE = 5, | 291 | FUSE_NOTIFY_RETRIEVE = 5, |
| 292 | FUSE_NOTIFY_DELETE = 6, | ||
| 286 | FUSE_NOTIFY_CODE_MAX, | 293 | FUSE_NOTIFY_CODE_MAX, |
| 287 | }; | 294 | }; |
| 288 | 295 | ||
| @@ -606,6 +613,13 @@ struct fuse_notify_inval_entry_out { | |||
| 606 | __u32 padding; | 613 | __u32 padding; |
| 607 | }; | 614 | }; |
| 608 | 615 | ||
| 616 | struct fuse_notify_delete_out { | ||
| 617 | __u64 parent; | ||
| 618 | __u64 child; | ||
| 619 | __u32 namelen; | ||
| 620 | __u32 padding; | ||
| 621 | }; | ||
| 622 | |||
| 609 | struct fuse_notify_store_out { | 623 | struct fuse_notify_store_out { |
| 610 | __u64 nodeid; | 624 | __u64 nodeid; |
| 611 | __u64 offset; | 625 | __u64 offset; |
