提交 aeb4eb6b 编写于 作者: M Miklos Szeredi

fuse: fix mtime update error in fsync

Bad case of shadowing.
Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册