Skip to content

Commit

Permalink
SCSI: mpt2sas: Added missing mpt2sas_base_detach call from scsih_remo…
Browse files Browse the repository at this point in the history
…ve context

commit 9ae89b0 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>
  • Loading branch information
kashyap.desai@lsi.com authored and Greg Kroah-Hartman committed Jan 12, 2012
1 parent 4ae8445 commit 18366c3
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 @@ -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);
Expand Down

0 comments on commit 18366c3

Please sign in to comment.