diff options
-rw-r--r-- | example/passthrough_ll.c | 4 |
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) { |