diff options
author | HereThereBeDragons <HereThereBeDragons@users.noreply.github.com> | 2022-10-27 17:52:10 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2023-01-06 18:35:52 +0000 |
commit | 91083df90eadc0e69e4ce6956f823a2acb602f25 (patch) | |
tree | b83b5c7122fec12a0f4424fd5c1fdb1a39b0caf8 /lib | |
parent | 7f430a39db5a30979d75a906af891a38ebce1a3c (diff) | |
download | fuse-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.c | 2 |
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; } |