aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 84849601363e..d7647289d8a1 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -248,6 +248,9 @@ struct fuse_conn {
248 /** Is fsync not implemented by fs? */ 248 /** Is fsync not implemented by fs? */
249 unsigned no_fsync : 1; 249 unsigned no_fsync : 1;
250 250
251 /** Is fsyncdir not implemented by fs? */
252 unsigned no_fsyncdir : 1;
253
251 /** Is flush not implemented by fs? */ 254 /** Is flush not implemented by fs? */
252 unsigned no_flush : 1; 255 unsigned no_flush : 1;
253 256
@@ -340,6 +343,12 @@ int fuse_open_common(struct inode *inode, struct file *file, int isdir);
340int fuse_release_common(struct inode *inode, struct file *file, int isdir); 343int fuse_release_common(struct inode *inode, struct file *file, int isdir);
341 344
342/** 345/**
346 * Send FSYNC or FSYNCDIR request
347 */
348int fuse_fsync_common(struct file *file, struct dentry *de, int datasync,
349 int isdir);
350
351/**
343 * Initialise file operations on a regular file 352 * Initialise file operations on a regular file
344 */ 353 */
345void fuse_init_file_inode(struct inode *inode); 354void fuse_init_file_inode(struct inode *inode);