summaryrefslogtreecommitdiff
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-04-28 16:19:21 +0400
committerMiklos Szeredi <mszeredi@suse.cz>2014-04-28 16:19:21 +0400
commitaeb4eb6b55261f44d3705f0a3b9e4906bfa5e416 (patch)
tree67b24e02ce502b9f4e7a20074cd2110b9f43a983 /fs/fuse/file.c
parent4adb83029de8ef5144a14dbb5c21de0f156c1a03 (diff)
downloadlinux-aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416.tar.xz
fuse: fix mtime update error in fsync
Bad case of shadowing. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 982288a1c6ab..7ae1e6972caa 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -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;
}