Commit ad96f7115593e962dd22a0519021eafaba56f5e3

Authored by Andy Lutomirski
Committed by Theodore Ts'o
1 parent 53e872681f

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

... ... @@ -109,8 +109,6 @@
109 109 *
110 110 * What we do is just kick off a commit and wait on it. This will snapshot the
111 111 * inode to disk.
112   - *
113   - * i_mutex lock is held when entering and exiting this function
114 112 */
115 113  
116 114 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)