projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4adb830
)
fuse: fix mtime update error in fsync
author
Miklos Szeredi
<mszeredi@suse.cz>
Mon, 28 Apr 2014 12:19:21 +0000
(14:19 +0200)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Mon, 28 Apr 2014 12:19:21 +0000
(14:19 +0200)
Bad case of shadowing.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fuse/file.c
b/fs/fuse/file.c
index 982288a1c6ab1b84c59aeb306a7e57a832061292..7ae1e6972caaeb5c17ad181c3842ac8cf70c2014 100644
(file)
--- 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;
}