OSDN Git Service

SCSI: mpt2sas: Added missing mpt2sas_base_detach call from scsih_remove context
authorkashyap.desai@lsi.com <kashyap.desai@lsi.com>
Thu, 4 Aug 2011 11:17:50 +0000 (16:47 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jan 2012 19:35:51 +0000 (11:35 -0800)
commit18366c3fed0c372f9c123489e7061de11b640965
tree7d3eb038b73bfe0d81cfde1b1aa5402ee9615bfe
parent4ae84455f98af3b3c3a23f8b6458fcefc9ff62bf
SCSI: mpt2sas: Added missing mpt2sas_base_detach call from scsih_remove context

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