aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChad Austin <chad@chadaustin.me>2019-04-16 11:44:59 -0700
committerNikolaus Rath <Nikolaus@rath.org>2019-04-16 19:44:59 +0100
commit6439231f9ba8af9c0eab8dcda54a8fc31e63ae99 (patch)
tree2ba872c19ceab7e7e59977df21db2c9246f803f3 /lib
parent7bf25b6987d84c816aebd5325b95cfa0d311b1e6 (diff)
downloadlibfuse-6439231f9ba8af9c0eab8dcda54a8fc31e63ae99.tar.gz
Add documentation for opting out of opendir and releasedir (#391)
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse_lowlevel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 50fff4d..ec0daaf 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -1907,6 +1907,8 @@ static void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)
se->conn.capable |= FUSE_CAP_POSIX_ACL;
if (arg->flags & FUSE_HANDLE_KILLPRIV)
se->conn.capable |= FUSE_CAP_HANDLE_KILLPRIV;
+ if (arg->flags & FUSE_NO_OPENDIR_SUPPORT)
+ se->conn.capable |= FUSE_CAP_NO_OPENDIR_SUPPORT;
} else {
se->conn.max_readahead = 0;
}