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>
This commit is contained in:

committed by
Miklos Szeredi

parent
e27c9d3877
commit
ab9e13f7c7
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user