Improve description of FUSE_CAP_NO_OPEN_SUPPORT flag.
authorNikolaus Rath <Nikolaus@rath.org>
Mon, 14 Nov 2016 19:33:33 +0000 (11:33 -0800)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 14 Nov 2016 19:33:33 +0000 (11:33 -0800)
Fixes #107.

include/fuse_common.h

index d7adab0946ecadec4b5c213f420e3e821ad5ef8f..b6613a87b85b3466642dc62df4d528f7b765614f 100644 (file)
@@ -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)