From: Miklos Szeredi Date: Mon, 28 Apr 2014 12:19:21 +0000 (+0200) Subject: fuse: fix mtime update error in fsync X-Git-Tag: MMI-PSA29.97-13-9~12246^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git fuse: fix mtime update error in fsync Bad case of shadowing. Signed-off-by: Miklos Szeredi --- 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; }