diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_common.h | 5 | ||||
-rw-r--r-- | include/fuse_kernel.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index c8a2409..cb2d8cf 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -84,6 +84,11 @@ struct fuse_file_info { /** Lock owner id. Available in locking operations and flush */ uint64_t lock_owner; + + /** Requested poll events. Available in ->poll. Only set on kernels + which support it. If unsupported, this field is set to zero. + Introduced in version 3.0 */ + uint32_t poll_events; }; /** diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index 28fefbb..baee03e 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -89,6 +89,7 @@ * * 7.21 * - add FUSE_READDIRPLUS + * - send the requested events in POLL request */ #ifndef _LINUX_FUSE_H @@ -620,7 +621,7 @@ struct fuse_poll_in { __u64 fh; __u64 kh; __u32 flags; - __u32 padding; + __u32 events; }; struct fuse_poll_out { |