added fsync operation
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 4be9a28..08ad214 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -103,7 +103,8 @@
FUSE_WRITE = 16,
FUSE_STATFS = 17,
FUSE_RELEASE = 18, /* no reply */
- FUSE_INVALIDATE = 19 /* user initiated */
+ FUSE_INVALIDATE = 19, /* user initiated */
+ FUSE_FSYNC = 20
};
/* Conservative buffer size for the client */
@@ -176,6 +177,10 @@
struct fuse_kstatfs st;
};
+struct fuse_fsync_in {
+ int datasync;
+};
+
struct fuse_in_header {
int unique;
enum fuse_opcode opcode;