Commit aeb4eb6b authored by Miklos Szeredi's avatar Miklos Szeredi

fuse: fix mtime update error in fsync

Bad case of shadowing.
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 4adb8302
......@@ -501,7 +501,7 @@ int fuse_fsync_common(struct file *file, loff_t start, loff_t end,
fuse_sync_writes(inode);
if (test_bit(FUSE_I_MTIME_DIRTY, &get_fuse_inode(inode)->state)) {
int err = fuse_flush_mtime(file, false);
err = fuse_flush_mtime(file, false);
if (err)
goto out;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment