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:
50d9158
)
fuse_lib_init(): don't set FUSE_CAP_EXPORT_SUPPORT unconditionally
author
Nikolaus Rath
<Nikolaus@rath.org>
Fri, 11 Aug 2017 18:14:55 +0000
(20:14 +0200)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Fri, 11 Aug 2017 18:14:55 +0000
(20:14 +0200)
FreeBSD kernel does not support this.
lib/fuse.c
patch
|
blob
|
history
diff --git
a/lib/fuse.c
b/lib/fuse.c
index 75f13d7b4305ba6ccf2b32f724789568e9de64e6..2322a8b388269954041548a1c9491301b7ec6e13 100644
(file)
--- a/
lib/fuse.c
+++ b/
lib/fuse.c
@@
-2509,7
+2509,8
@@
static void fuse_lib_init(void *data, struct fuse_conn_info *conn)
struct fuse *f = (struct fuse *) data;
fuse_create_context(f);
- conn->want |= FUSE_CAP_EXPORT_SUPPORT;
+ if(conn->capable & FUSE_CAP_EXPORT_SUPPORT)
+ conn->want |= FUSE_CAP_EXPORT_SUPPORT;
fuse_fs_init(f->fs, conn, &f->conf);
}