From 6439231f9ba8af9c0eab8dcda54a8fc31e63ae99 Mon Sep 17 00:00:00 2001 From: Chad Austin Date: Tue, 16 Apr 2019 11:44:59 -0700 Subject: Add documentation for opting out of opendir and releasedir (#391) --- lib/fuse_lowlevel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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; } -- cgit v1.2.3