diff options
author | Chad Austin <chad@chadaustin.me> | 2019-04-16 11:44:59 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-04-16 19:44:59 +0100 |
commit | 6439231f9ba8af9c0eab8dcda54a8fc31e63ae99 (patch) | |
tree | 2ba872c19ceab7e7e59977df21db2c9246f803f3 /include/fuse_common.h | |
parent | 7bf25b6987d84c816aebd5325b95cfa0d311b1e6 (diff) | |
download | libfuse-6439231f9ba8af9c0eab8dcda54a8fc31e63ae99.tar.gz |
Add documentation for opting out of opendir and releasedir (#391)
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 823a37d..0481aac 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -336,6 +336,18 @@ struct fuse_loop_config { #define FUSE_CAP_HANDLE_KILLPRIV (1 << 20) /** + * Indicates support for zero-message opendirs. If this flag is set in + * the `capable` field of the `fuse_conn_info` structure, then the filesystem + * may return `ENOSYS` from the opendir() handler to indicate success. Further + * opendir and releasedir messages will be handled in the kernel. (If this + * flag is not set, returning ENOSYS will be treated as an error and signalled + * to the caller.) + * + * Setting (or unsetting) this flag in the `want` field has *no effect*. + */ +#define FUSE_CAP_NO_OPENDIR_SUPPORT (1 << 24) + +/** * Ioctl flags * * FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine |