fuse: fix mtime update error in fsync
Bad case of shadowing. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:
parent
4adb83029d
commit
aeb4eb6b55
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue