mpt2sas: Added DID_NO_CONNECT return when driver remove and avoid shutdown call
authorKashyap, Desai <kashyap.desai@lsi.com>
Tue, 14 Jun 2011 05:27:08 +0000 (10:57 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:48 +0000 (11:40 -0700)
commitdb1f8f788b108fa627f011355ff9ba5e3e789fa6
treedd4bec3aa178fdc80ab047bf8c83208a500ae7c2
parent68cde1e274f52661b06c0b994c5280e3f880bd74
mpt2sas: Added DID_NO_CONNECT return when driver remove and avoid shutdown call

commit 7821578caa8cb831868989041112ab808029ca65 upstream.

Driver should not call shutdown call from _scsih_remove otherwise,
The scsi midlayer can be deadlocked when devices are removed from the driver
pci_driver->shutdown handler.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c