aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough_fh.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/passthrough_fh.c')
-rw-r--r--example/passthrough_fh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/passthrough_fh.c b/example/passthrough_fh.c
index bc02794..51df3be 100644
--- a/example/passthrough_fh.c
+++ b/example/passthrough_fh.c
@@ -366,6 +366,7 @@ static int xmp_create(const char *path, mode_t mode, struct fuse_file_info *fi)
return -errno;
fi->fh = fd;
+ fi->parallel_direct_writes = 1;
return 0;
}
@@ -378,6 +379,7 @@ static int xmp_open(const char *path, struct fuse_file_info *fi)
return -errno;
fi->fh = fd;
+ fi->parallel_direct_writes = 1;
return 0;
}