Skip to content

Commit

Permalink
[SCSI] mpt2sas: Added missing mpt2sas_base_detach call from scsih_rem…
Browse files Browse the repository at this point in the history
…ove 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>
  • Loading branch information
kashyap.desai@lsi.com authored and James Bottomley committed Aug 27, 2011
1 parent 731f56c commit 9ae89b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/mpt2sas/mpt2sas_scsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9ae89b0

Please sign in to comment.