commit | 92e6222dfb85db780ebd8caea6a3f9326c375bc0 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Jun 04 14:40:39 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Jun 04 14:40:39 2013 -0400 |
tree | d57c6ca43d9b57117f5fe029ea0ccdc61a7369ab | |
parent | 37b10dd06334ebc89f551d405a0fe27e1a622458 [diff] |
ext4: remove i_mutex from ext4_file_sync() After removal of ext4_flush_unwritten_io() call, ext4_file_sync() doesn't need i_mutex anymore. Forcing of transaction commits doesn't need i_mutex as there's nothing inode specific in that code apart from grabbing transaction ids from the inode. So remove the lock. Reviewed-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>