aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/hello_ll.c')
-rw-r--r--example/hello_ll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c
index 0fcb7fe..12927cc 100644
--- a/example/hello_ll.c
+++ b/example/hello_ll.c
@@ -59,6 +59,10 @@ static void hello_ll_init(void *userdata, struct fuse_conn_info *conn)
/* Disable the receiving and processing of FUSE_INTERRUPT requests */
conn->no_interrupt = 1;
+
+ /* Test setting flags the old way */
+ conn->want = FUSE_CAP_ASYNC_READ;
+ conn->want &= ~FUSE_CAP_ASYNC_READ;
}
static void hello_ll_getattr(fuse_req_t req, fuse_ino_t ino,