summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-04-28 14:19:21 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2014-04-28 14:19:21 +0200
commitaeb4eb6b55261f44d3705f0a3b9e4906bfa5e416 (patch)
tree67b24e02ce502b9f4e7a20074cd2110b9f43a983
parent4adb83029de8ef5144a14dbb5c21de0f156c1a03 (diff)
downloadblackbird-op-linux-aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416.tar.gz
blackbird-op-linux-aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416.zip
fuse: fix mtime update error in fsync
Bad case of shadowing. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
-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;
}
OpenPOWER on IntegriCloud