aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_write_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_write_cache.c')
-rw-r--r--test/test_write_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_write_cache.c b/test/test_write_cache.c
index 0c8fa7e..9f21f02 100644
--- a/test/test_write_cache.c
+++ b/test/test_write_cache.c
@@ -69,7 +69,7 @@ static void tfs_init (void *userdata, struct fuse_conn_info *conn)
if(options.writeback) {
assert(fuse_get_feature_flag(conn, FUSE_CAP_WRITEBACK_CACHE));
- conn->want |= FUSE_CAP_WRITEBACK_CACHE;
+ fuse_set_feature_flag(conn, FUSE_CAP_WRITEBACK_CACHE);
}
}