aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fuse_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fuse_i.h')
-rw-r--r--kernel/fuse_i.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h
index d877071..fb94ebb 100644
--- a/kernel/fuse_i.h
+++ b/kernel/fuse_i.h
@@ -310,6 +310,9 @@ struct fuse_conn {
/** Is fsync not implemented by fs? */
unsigned no_fsync : 1;
+ /** Is fsyncdir not implemented by fs? */
+ unsigned no_fsyncdir : 1;
+
/** Is flush not implemented by fs? */
unsigned no_flush : 1;
@@ -407,6 +410,12 @@ int fuse_open_common(struct inode *inode, struct file *file, int isdir);
*/
int fuse_release_common(struct inode *inode, struct file *file, int isdir);
+/**
+ * Send FSYNC or FSYNCDIR request
+ */
+int fuse_fsync_common(struct file *file, struct dentry *de, int datasync,
+ int isdir);
+
/**
* Initialise file operations on a regular file
*/