summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/fuse.h
diff options
context:
space:
mode:
authorAlan Somers2019-04-19 23:42:44 +0200
committerMiklos Szeredi2019-04-24 17:05:07 +0200
commit154603fe3ec4620a4c229a127ddbccf5c69f9463 (patch)
tree4a98002c6be08d8fd2535550061fed3eb0a8c06e /include/uapi/linux/fuse.h
parentfuse: Add FOPEN_STREAM to use stream_open() (diff)
downloadkernel-qcow2-linux-154603fe3ec4620a4c229a127ddbccf5c69f9463.tar.gz
kernel-qcow2-linux-154603fe3ec4620a4c229a127ddbccf5c69f9463.tar.xz
kernel-qcow2-linux-154603fe3ec4620a4c229a127ddbccf5c69f9463.zip
fuse: document fuse_fsync_in.fsync_flags
The FUSE_FSYNC_DATASYNC flag was introduced by commit b6aeadeda22a ("[PATCH] FUSE - file operations") as a magic number. No new values have been added to fsync_flags since. Signed-off-by: Alan Somers <asomers@FreeBSD.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/uapi/linux/fuse.h')
-rw-r--r--include/uapi/linux/fuse.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h
index 17afe2dd8d1c..59d5048df41e 100644
--- a/include/uapi/linux/fuse.h
+++ b/include/uapi/linux/fuse.h
@@ -360,6 +360,13 @@ struct fuse_file_lock {
*/
#define FUSE_POLL_SCHEDULE_NOTIFY (1 << 0)
+/**
+ * Fsync flags
+ *
+ * FUSE_FSYNC_FDATASYNC: Sync data only, not metadata
+ */
+#define FUSE_FSYNC_FDATASYNC (1 << 0)
+
enum fuse_opcode {
FUSE_LOOKUP = 1,
FUSE_FORGET = 2, /* no reply */