From: Jan Kara Date: Tue, 4 Jun 2013 18:40:39 +0000 (-0400) Subject: ext4: remove i_mutex from ext4_file_sync() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e6222dfb85db780ebd8caea6a3f9326c375bc0;p=pandora-kernel.git 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 Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed