aboutsummaryrefslogtreecommitdiff
path: root/example/passthrough_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/passthrough_ll.c')
-rw-r--r--example/passthrough_ll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c
index 65ab0f3..b68f086 100644
--- 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) {