diff options
| author | kashyap.desai@lsi.com <kashyap.desai@lsi.com> | 2011-08-04 16:47:50 +0530 | 
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 08:35:21 -0600 | 
| commit | 9ae89b0296e275d5a556068b40b7c2557a556a85 (patch) | |
| tree | e710bd847b3ddb7262eeff93b353aa11d994ffb1 /drivers/scsi/mpt2sas/mpt2sas_scsih.c | |
| parent | 731f56c84517f16a59bd2289068318c55001b78b (diff) | |
| download | olio-linux-3.10-9ae89b0296e275d5a556068b40b7c2557a556a85.tar.xz olio-linux-3.10-9ae89b0296e275d5a556068b40b7c2557a556a85.zip  | |
[SCSI] mpt2sas: Added missing mpt2sas_base_detach call from scsih_remove context
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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_scsih.c')
| -rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_scsih.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6abd2fcc43e..6bb3986094d 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c @@ -7354,6 +7354,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);  |