From: Christoph Hellwig Date: Tue, 27 Mar 2012 14:34:47 +0000 (-0400) Subject: xfs: reduce ilock hold times in xfs_file_aio_write_checks X-Git-Tag: v3.5-rc1~91^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467f78992a0743e0e71729e4faa20b67b0f25289;p=pandora-kernel.git xfs: reduce ilock hold times in xfs_file_aio_write_checks We do not need the ilock for generic_write_checks and the i_size_read, which are protected by i_mutex and/or iolock, so reduce the ilock critical section to just the call to xfs_zero_eof. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed