Messages in this thread Patch in this message | | | Date | Tue, 10 Jan 2012 13:45:51 -0800 | From | Greg KH <> | Subject | [38/40] SCSI: mpt2sas: Added missing mpt2sas_base_detach call from scsih_remove context |
| |
3.0-stable review patch. If anyone has any objections, please let me know.
------------------
From: "kashyap.desai@lsi.com" <kashyap.desai@lsi.com>
commit 9ae89b0296e275d5a556068b40b7c2557a556a85 upstream.
mpt2sas_base_detach() call was removed from _scsih_remove() while doing some code shuffling. Mainly when we work on adding code for scsih_shutdown(). I have added back mpt2sas_base_detach() which will get callled from _scsih_remove().
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
--- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 1 + 1 file changed, 1 insertion(+)
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c @@ -7211,6 +7211,7 @@ _scsih_remove(struct pci_dev *pdev) } sas_remove_host(shost); + mpt2sas_base_detach(ioc); list_del(&ioc->list); scsi_remove_host(shost); scsi_host_put(shost);
| |