mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ext4: fix an incorrect comment about i_mutex
i_mutex is not held when ->sync_file is called. Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Andy Lutomirski <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
This commit is contained in:
parent
53e872681f
commit
ad96f71155
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue