summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHereThereBeDragons <HereThereBeDragons@users.noreply.github.com>2022-10-27 17:52:10 +0200
committerNikolaus Rath <Nikolaus@rath.org>2023-01-06 18:35:52 +0000
commit91083df90eadc0e69e4ce6956f823a2acb602f25 (patch)
treeb83b5c7122fec12a0f4424fd5c1fdb1a39b0caf8 /lib
parent7f430a39db5a30979d75a906af891a38ebce1a3c (diff)
downloadfuse-91083df90eadc0e69e4ce6956f823a2acb602f25.tar.gz
adding comments and capability discovery, enum for flags moved to top of file
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 7b9d710..7d76309 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -1991,6 +1991,8 @@ void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)
bufsize = max_bufsize;
}
}
+ if (arg->minor >= 38)
+ se->conn.capable |= FUSE_CAP_EXPIRE_ONLY;
} else {
se->conn.max_readahead = 0;
}