fuse: fix mtime update error in fsync

Bad case of shadowing.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:
Miklos Szeredi 2014-04-28 14:19:21 +02:00
parent 4adb83029d
commit aeb4eb6b55
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}