projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c12204
)
add support for kernel flag FUSE_HAS_EXPIRE_ONLY
author
HereThereBeDragons
<HereThereBeDragons@users.noreply.github.com>
Wed, 6 Dec 2023 14:37:38 +0000
(15:37 +0100)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Mon, 29 Jan 2024 08:43:58 +0000
(08:43 +0000)
lib/fuse_lowlevel.c
patch
|
blob
|
history
diff --git
a/lib/fuse_lowlevel.c
b/lib/fuse_lowlevel.c
index def191898f450f6f3f0f10e064ca30ccd4cf95cc..d8c0cd1498332559c80ea71d029f3fbc9b107cad 100644
(file)
--- a/
lib/fuse_lowlevel.c
+++ b/
lib/fuse_lowlevel.c
@@
-2021,7
+2021,7
@@
void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg)
}
if (inargflags & FUSE_DIRECT_IO_ALLOW_MMAP)
se->conn.capable |= FUSE_CAP_DIRECT_IO_ALLOW_MMAP;
- if (arg->minor >= 38)
+ if (arg->minor >= 38
|| (inargflags & FUSE_HAS_EXPIRE_ONLY)
)
se->conn.capable |= FUSE_CAP_EXPIRE_ONLY;
} else {
se->conn.max_readahead = 0;