aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-03-08 14:24:50 -0700
committerNikolaus Rath <Nikolaus@rath.org>2019-03-08 21:24:50 +0000
commit1b7d2b886265daa5527f487c1b6e86d006574ac4 (patch)
tree2c936ff4a30e660b93e0399e40689e478ed0758e /include
parent06a31dece06792fd70fe2b4353f65df02f13549e (diff)
downloadlibfuse-1b7d2b886265daa5527f487c1b6e86d006574ac4.tar.gz
Document fuse_fsync_in.fsync_flags and remove magic numbers (#375)
Diffstat (limited to 'include')
-rw-r--r--include/fuse_kernel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index c806a17..6079b7f 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -339,6 +339,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 */