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/file.c | |
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/file.c')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index d228c39..96d513e 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1691,7 +1691,7 @@ int fuse_write_inode(struct inode *inode, struct writeback_control *wbc) int err; ff = __fuse_write_file_get(fc, fi); - err = fuse_flush_mtime(inode, ff); + err = fuse_flush_times(inode, ff); if (ff) fuse_file_put(ff, 0); |