diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2024-01-10 10:15:43 +0100 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2024-01-10 21:11:37 +0000 |
commit | 2c736f516f28dfb5c58aff345c668a5ea6386295 (patch) | |
tree | 6b17705259abaf9123717f2ede0b5dcda7ac76dd /lib/fuse_lowlevel.c | |
parent | 22741f5582ea003c3518aff76e8df6561403f88b (diff) | |
download | libfuse-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 'lib/fuse_lowlevel.c')
-rw-r--r-- | lib/fuse_lowlevel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 41e626b..d8f5466 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2053,7 +2053,6 @@ void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg) if ((cond) && (se->conn.capable & (cap))) \ se->conn.want |= (cap) LL_SET_DEFAULT(1, FUSE_CAP_ASYNC_READ); - LL_SET_DEFAULT(1, FUSE_CAP_PARALLEL_DIROPS); LL_SET_DEFAULT(1, FUSE_CAP_AUTO_INVAL_DATA); LL_SET_DEFAULT(1, FUSE_CAP_HANDLE_KILLPRIV); LL_SET_DEFAULT(1, FUSE_CAP_ASYNC_DIO); |