From: Dave Chinner Date: Tue, 22 Mar 2011 11:23:43 +0000 (+1100) Subject: fs: pull inode->i_lock up out of writeback_single_inode X-Git-Tag: v2.6.39-rc1~75^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1;p=pandora-kernel.git fs: pull inode->i_lock up out of writeback_single_inode First thing we do in writeback_single_inode() is take the i_lock and the last thing we do is drop it. A caller already holds the i_lock, so pull the i_lock out of writeback_single_inode() to reduce the round trips on this lock during inode writeback. Signed-off-by: Dave Chinner Signed-off-by: Al Viro --- Reading git-diff-tree failed