From: Nikolaus Rath Date: Mon, 14 Nov 2016 19:33:33 +0000 (-0800) Subject: Improve description of FUSE_CAP_NO_OPEN_SUPPORT flag. X-Git-Tag: fuse-3.0.0rc3~29 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a23607b0972f17e6c5c92f37fdfead926881e276;p=qemu-gpiodev%2Flibfuse.git Improve description of FUSE_CAP_NO_OPEN_SUPPORT flag. Fixes #107. --- 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)