From 5e43f2c00c1ce3a9ee3ed9c2b5a9b32dabbb6e60 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 12 Dec 2003 14:06:41 +0000 Subject: added fsync operation --- include/linux/fuse.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/linux/fuse.h') 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 @@ enum fuse_opcode { 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_statfs_out { struct fuse_kstatfs st; }; +struct fuse_fsync_in { + int datasync; +}; + struct fuse_in_header { int unique; enum fuse_opcode opcode; -- cgit v1.2.3