aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_kernel.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2015-04-23 14:13:18 +0200
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2015-04-23 14:13:18 +0200
commit04ad73fab6ed679941958ed155169ba4146f719e (patch)
treea61eef60c589a0fb843728993063babf331b7679 /include/fuse_kernel.h
parent0ecd21258e24fec185c157520435783780a1ad8f (diff)
libfuse: add FUSE_CAP_NO_OPEN_SUPPORT flag to ->init()
Diffstat (limited to 'include/fuse_kernel.h')
-rw-r--r--include/fuse_kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index 40b5ca8..25084a0 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -101,6 +101,7 @@
* - add FATTR_CTIME
* - add ctime and ctimensec to fuse_setattr_in
* - add FUSE_RENAME2 request
+ * - add FUSE_NO_OPEN_SUPPORT flag
*/
#ifndef _LINUX_FUSE_H
@@ -229,6 +230,7 @@ struct fuse_file_lock {
* FUSE_READDIRPLUS_AUTO: adaptive readdirplus
* FUSE_ASYNC_DIO: asynchronous direct I/O submission
* FUSE_WRITEBACK_CACHE: use writeback cache for buffered writes
+ * FUSE_NO_OPEN_SUPPORT: kernel supports zero-message opens
*/
#define FUSE_ASYNC_READ (1 << 0)
#define FUSE_POSIX_LOCKS (1 << 1)
@@ -247,6 +249,7 @@ struct fuse_file_lock {
#define FUSE_READDIRPLUS_AUTO (1 << 14)
#define FUSE_ASYNC_DIO (1 << 15)
#define FUSE_WRITEBACK_CACHE (1 << 16)
+#define FUSE_NO_OPEN_SUPPORT (1 << 17)
/**
* CUSE INIT request/reply flags