commit | aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Mon Apr 28 14:19:21 2014 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Mon Apr 28 14:19:21 2014 +0200 |
tree | 67b24e02ce502b9f4e7a20074cd2110b9f43a983 | |
parent | 4adb83029de8ef5144a14dbb5c21de0f156c1a03 [diff] |
fuse: fix mtime update error in fsync Bad case of shadowing. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 982288a..7ae1e69 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c
@@ -501,7 +501,7 @@ 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; }