summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2012-12-25 13:31:52 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-12-25 13:31:52 -0500
commitad96f7115593e962dd22a0519021eafaba56f5e3 (patch)
treebb022d40e7bf5808e0a2cb4cacb71e8d6bf828ef /fs/ext4
parent53e872681fed6a43047e71bf927f77d06f467988 (diff)
downloadop-kernel-dev-ad96f7115593e962dd22a0519021eafaba56f5e3.zip
op-kernel-dev-ad96f7115593e962dd22a0519021eafaba56f5e3.tar.gz
ext4: fix an incorrect comment about i_mutex
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/fsync.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c
index dfbc1fe..3278e64 100644
--- 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)
OpenPOWER on IntegriCloud