SCSI: mpt2sas: Expander fix oops saying "Already part of another port"
commit4f2d0e9e2bb51e8de0ac989f3023d8340813b2cc
authorKashyap, Desai <kashyap.desai@lsi.com>
Fri, 7 Aug 2009 14:04:26 +0000 (7 19:34 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:33:41 +0000 (8 20:33 -0700)
treebfe0a655df00a7b20babe09ee63ad100a2190cc0
parent34f5fef1b6038f7b85ff685b3676915a9668e1a8
SCSI: mpt2sas: Expander fix oops saying "Already part of another port"

commit 20f5895d55d9281830bfb7819c5c5b70b05297a6 upstream.

Kernel panic is seen because driver did not tear down the port which should
be dnoe using mpt2sas_transport_port_remove(). without this fix When expander
is added back we would oops inside sas_port_add_phy.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c