[SCSI] ipr: Fix ipr PCI hotplug hang with CDROM attach
authorbrking@us.ibm.com <brking@us.ibm.com>
Tue, 3 May 2005 00:50:47 +0000 (19:50 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 20 May 2005 17:53:48 +0000 (12:53 -0500)
commit5cbf5eaef7e4430f60844748fd33e22a5fb15167
treeb19ccfeff04a36519871fde63c41803d78be6b37
parent380c3877ae5de888cfb7a59990b9aee5a415295f
[SCSI] ipr: Fix ipr PCI hotplug hang with CDROM attach

Currently, during PCI hotplug remove, if the upper layer
drivers of the attached devices send commands down as part
of the remove action, like a CDROM, the hotplug action
will hang forever due to the ipr driver returning
SCSI_MLQUEUE_HOST_BUSY. Patch fixes this.

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