diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-28 14:19:21 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-04-28 14:19:21 +0200 |
commit | aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416 (patch) | |
tree | 67b24e02ce502b9f4e7a20074cd2110b9f43a983 /fs | |
parent | 4adb83029de8ef5144a14dbb5c21de0f156c1a03 (diff) | |
download | linux-aeb4eb6b55261f44d3705f0a3b9e4906bfa5e416.tar.bz2 |
fuse: fix mtime update error in fsync
Bad case of shadowing.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fuse/file.c | 2 |
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; } |