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:
53de0ad
)
passthrough_ll: only active EXPORT_SUPPORT of supported by kernel.
author
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 24 Aug 2017 19:08:25 +0000
(21:08 +0200)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 24 Aug 2017 19:08:25 +0000
(21:08 +0200)
example/passthrough_ll.c
patch
|
blob
|
history
diff --git
a/example/passthrough_ll.c
b/example/passthrough_ll.c
index 65ab0f33d05ee1e5a141bb8ce8f78732b2b8f87c..b68f086eaab812502ceefe562f7b266f66354485 100644
(file)
--- a/
example/passthrough_ll.c
+++ b/
example/passthrough_ll.c
@@
-118,7
+118,9
@@
static void lo_init(void *userdata,
struct fuse_conn_info *conn)
{
struct lo_data *lo = (struct lo_data*) userdata;
- conn->want |= FUSE_CAP_EXPORT_SUPPORT;
+
+ if(conn->capable & FUSE_CAP_EXPORT_SUPPORT)
+ conn->want |= FUSE_CAP_EXPORT_SUPPORT;
if (lo->writeback &&
conn->capable & FUSE_CAP_WRITEBACK_CACHE) {