On Tuesday, June 20, 2006 3:44 PM, James Bottomley wrote: > Oh, this one's actually quite simple: the phys aren't being > deleted from > the expander. Try this fix: > > James > > diff --git a/drivers/scsi/scsi_transport_sas.c > b/drivers/scsi/scsi_transport_sas.c > index 2a5899d..e79d6d3 100644 > --- a/drivers/scsi/scsi_transport_sas.c > +++ b/drivers/scsi/scsi_transport_sas.c > @@ -1176,7 +1176,7 @@ sas_rphy_delete(struct sas_rphy *rphy) > break; > case SAS_EDGE_EXPANDER_DEVICE: > case SAS_FANOUT_EXPANDER_DEVICE: > - device_for_each_child(dev, NULL, do_sas_phy_delete); > + sas_remove_children(dev); > break; > default: > break; Yes, that solves that issue. Thanks, Eric - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html