]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Fix ABBA deadlock between i_mutex and iolock. Avoid calling
authorLachlan McIlroy <lachlan@sgi.com>
Thu, 7 Sep 2006 04:27:05 +0000 (14:27 +1000)
committerDavid Chatterton <chatz@sgi.com>
Thu, 7 Sep 2006 04:27:05 +0000 (14:27 +1000)
commit721259bce2851893155c6cb88a3f8ecb106b348c
tree0db37f80a7ef0b701b313e9ba28f8c0d3950e533
parent4be536debe3f7b0c62283e77fd6bd8bdb9f83c6f
[XFS] Fix ABBA deadlock between i_mutex and iolock. Avoid calling
__blockdev_direct_IO for the DIO_OWN_LOCKING case for direct I/O reads
since it drops and reacquires the i_mutex while holding the iolock and
this violates the locking order.

SGI-PV: 955696
SGI-Modid: xfs-linux-melb:xfs-kern:26898a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_lrw.c