projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e8726
)
ext4: fix an incorrect comment about i_mutex
author
Andy Lutomirski
<luto@amacapital.net>
Tue, 25 Dec 2012 18:31:52 +0000
(13:31 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 25 Dec 2012 18:31:52 +0000
(13:31 -0500)
i_mutex is not held when ->sync_file is called.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/fsync.c
patch
|
blob
|
history
diff --git
a/fs/ext4/fsync.c
b/fs/ext4/fsync.c
index
dfbc1fe
..
3278e64
100644
(file)
--- a/
fs/ext4/fsync.c
+++ b/
fs/ext4/fsync.c
@@
-109,8
+109,6
@@
static int __sync_inode(struct inode *inode, int datasync)
*
* What we do is just kick off a commit and wait on it. This will snapshot the
* inode to disk.
- *
- * i_mutex lock is held when entering and exiting this function
*/
int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)