diff options
author | Enke Chen <enkechen@yahoo.com> | 2013-02-07 14:58:50 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-07 14:58:50 +0100 |
commit | 74f9acbd18c55708698831b4cfb980c262ee91ee (patch) | |
tree | 2527f09b765a8b111135fbe90a9e83c92cbb78ca /include/fuse_common.h | |
parent | f448ac69d1791f4b5c1ce2771624e261cb1797b4 (diff) | |
download | libfuse-74f9acbd18c55708698831b4cfb980c262ee91ee.tar.gz |
libfuse: add poll_events to fuse_file_info
Make requested poll events available to the filesystem. If the requested
eventsare not available, then this field is zero.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 5 |
1 files changed, 5 insertions, 0 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; }; /** |