[SCSI] ipr: Fix sleeping function called with interrupts disabled
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 22 Apr 2009 13:58:02 +0000 (08:58 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:32:13 +0000 (10:32 -0500)
commitdd406ef8950e76b17d74c5764a1e3d3a87d4a855
treea6e408fba66d0e1832fa1d135da5809fba1b386c
parent6401bdcad536cc00589c38e7e1c140d3acc00087
[SCSI] ipr: Fix sleeping function called with interrupts disabled

The ata_sas_slave_configure was changed such that it now allocates
some memory for a drain buffer for ATAPI devices. Fixup the ipr
driver such that we no longer make this call with interrupts disabled.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ipr.c