aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-14 11:33:33 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-14 11:33:33 -0800
commita23607b0972f17e6c5c92f37fdfead926881e276 (patch)
tree3c67e2ea5591a33f912601ea39b8c3a868450fad /include
parent47426d453d8dcc2cdd2a7e812c9b5d25e9fc5028 (diff)
Improve description of FUSE_CAP_NO_OPEN_SUPPORT flag.
Fixes #107.
Diffstat (limited to 'include')
-rw-r--r--include/fuse_common.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index d7adab0..b6613a8 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -181,7 +181,15 @@ struct fuse_file_info {
#define FUSE_CAP_WRITEBACK_CACHE (1 << 16)
/**
- * Indicates that the filesystem supports support zero-message opens.
+ * Indicates support for zero-message opens. If this flag is set in
+ * the `capable` field of the `fuse_conn_info` structure, then the
+ * filesystem may return `ENOSYS` from the open() handler to indicate
+ * success. Further attempts to open files will be handled in the
+ * kernel. (If this flag is not set, returning ENOSYS will be treated
+ * as an error and signaled to the caller).
+ *
+ * Setting (or unsetting) this flag in the `want` field has *no
+ * effect*.
*/
#define FUSE_CAP_NO_OPEN_SUPPORT (1 << 17)