diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-10 15:52:15 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-13 10:35:12 -0700 |
commit | dc436101370e0ab2ea4d3a2a3454711ad7051ae8 (patch) | |
tree | ce2f8849c607282ad3b5ea0c37fa2a4a45712c50 /include/fuse_common.h | |
parent | 054c03943a6dc6a84ec7e52adcc661988b954871 (diff) |
do_init(): treat command line options consistently
Previously, some command line options would change the FUSE defaults
but leave the final value to the file systems `init` handler while
others would override any changes made by `init`. Now, command line
options do both: they modify the default, *and* take precedence.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 4a0e94b..55f0de2 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -167,12 +167,15 @@ struct fuse_conn_info { unsigned max_readahead; /** - * Capability flags, that the kernel supports + * Capability flags that the kernel supports (read-only) */ unsigned capable; /** - * Capability flags, that the filesystem wants to enable + * Capability flags that the filesystem wants to enable. + * + * libfuse attempts to initialize this field with + * reasonable default values before calling the init() handler. */ unsigned want; |