aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/hello.c')
-rw-r--r--example/hello.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/hello.c b/example/hello.c
index 6df8173..90919f4 100644
--- a/example/hello.c
+++ b/example/hello.c
@@ -57,6 +57,11 @@ static void *hello_init(struct fuse_conn_info *conn,
{
(void) conn;
cfg->kernel_cache = 1;
+
+ /* Test setting flags the old way */
+ conn->want = FUSE_CAP_ASYNC_READ;
+ conn->want &= ~FUSE_CAP_ASYNC_READ;
+
return NULL;
}