aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2024-01-10 10:15:43 +0100
committerNikolaus Rath <Nikolaus@rath.org>2024-01-10 21:11:37 +0000
commit2c736f516f28dfb5c58aff345c668a5ea6386295 (patch)
tree6b17705259abaf9123717f2ede0b5dcda7ac76dd /include/fuse_common.h
parent22741f5582ea003c3518aff76e8df6561403f88b (diff)
downloadlibfuse-2c736f516f28dfb5c58aff345c668a5ea6386295.tar.gz
Don't set FUSE_CAP_PARALLEL_DIROPS by default
Allowing parallel dir operations could result in a crash in a filesystem implementation that is not prepared for this. To be safe keep this flag off by default (this is not a regression, since there was no public release where this flag wasn't ignored). If the filesystem wants better performance, then it should set this flag explicitly. Fixes: c9905341ea34 ("Pass FUSE_PARALLEL_DIROPS to kernel (#861)") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index a804134..fedbaa9 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -336,8 +336,6 @@ struct fuse_loop_config_v1 {
* is unset, the FUSE kernel module will ensure that lookup() and
* readdir() requests are never issued concurrently for the same
* directory.
- *
- * This feature is enabled by default when supported by the kernel.
*/
#define FUSE_CAP_PARALLEL_DIROPS (1 << 18)