diff options
author | Maxim Patlasov <MPatlasov@parallels.com> | 2014-04-28 14:19:24 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-28 14:19:24 +0200 |
commit | ab9e13f7c771b511d8f71666e83cb27bcc635b98 (patch) | |
tree | bc213ba010921446b018d89a72c317a6eb51c32f /fs/fuse/fuse_i.h | |
parent | e27c9d3877a0d0479711a55f5cdd7ee91442da53 (diff) | |
download | op-kernel-dev-ab9e13f7c771b511d8f71666e83cb27bcc635b98.zip op-kernel-dev-ab9e13f7c771b511d8f71666e83cb27bcc635b98.tar.gz |
fuse: allow ctime flushing to userspace
The patch extends fuse_setattr_in, and extends the flush procedure
(fuse_flush_times()) called on ->write_inode() to send the ctime as well as
mtime.
Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index d2f1005..40677e3 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -889,7 +889,7 @@ int fuse_dev_release(struct inode *inode, struct file *file); bool fuse_write_update_size(struct inode *inode, loff_t pos); -int fuse_flush_mtime(struct inode *inode, struct fuse_file *ff); +int fuse_flush_times(struct inode *inode, struct fuse_file *ff); int fuse_write_inode(struct inode *inode, struct writeback_control *wbc); int fuse_do_setattr(struct inode *inode, struct iattr *attr, |