summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-07-18 16:09:40 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2012-07-18 16:09:40 +0200
commit69fe05c90ed58aac956dccb9e6d3a325fb3b8767 (patch)
tree70dd231ba0ba3b635642f67ea2be103f2ffc237b /include
parenta8894274a3581125fb311eabfc97cd0123740c5e (diff)
downloadlinux-69fe05c90ed58aac956dccb9e6d3a325fb3b8767.tar.gz
linux-69fe05c90ed58aac956dccb9e6d3a325fb3b8767.tar.bz2
linux-69fe05c90ed58aac956dccb9e6d3a325fb3b8767.zip
fuse: add missing INIT flags
Add missing flags that userspace derived from the protocol version number. This makes the protocol more flexible. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fuse.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index e4a9d2af9aaa..6455c5b64c2e 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -169,7 +169,11 @@ struct fuse_file_lock {
* FUSE_POSIX_LOCKS: remote locking for POSIX file locks
* FUSE_EXPORT_SUPPORT: filesystem handles lookups of "." and ".."
* FUSE_DONT_MASK: don't apply umask to file mode on create operations
+ * FUSE_SPLICE_WRITE: kernel supports splice write on the device
+ * FUSE_SPLICE_MOVE: kernel supports splice move on the device
+ * FUSE_SPLICE_READ: kernel supports splice read on the device
* FUSE_FLOCK_LOCKS: remote locking for BSD style file locks
+ * FUSE_HAS_IOCTL_DIR: kernel supports ioctl on directories
* FUSE_AUTO_INVAL_DATA: automatically invalidate cached pages
*/
#define FUSE_ASYNC_READ (1 << 0)
@@ -179,7 +183,11 @@ struct fuse_file_lock {
#define FUSE_EXPORT_SUPPORT (1 << 4)
#define FUSE_BIG_WRITES (1 << 5)
#define FUSE_DONT_MASK (1 << 6)
+#define FUSE_SPLICE_WRITE (1 << 7)
+#define FUSE_SPLICE_MOVE (1 << 8)
+#define FUSE_SPLICE_READ (1 << 9)
#define FUSE_FLOCK_LOCKS (1 << 10)
+#define FUSE_HAS_IOCTL_DIR (1 << 11)
#define FUSE_AUTO_INVAL_DATA (1 << 12)
/**