From 1b7d2b886265daa5527f487c1b6e86d006574ac4 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 8 Mar 2019 14:24:50 -0700 Subject: Document fuse_fsync_in.fsync_flags and remove magic numbers (#375) --- include/fuse_kernel.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/fuse_kernel.h') 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 */ -- cgit v1.2.3