From a23607b0972f17e6c5c92f37fdfead926881e276 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Mon, 14 Nov 2016 11:33:33 -0800 Subject: Improve description of FUSE_CAP_NO_OPEN_SUPPORT flag. Fixes #107. --- include/fuse_common.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include') 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) -- cgit v1.2.3