[SCSI] add missing transport_container_unregister in sas class
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 10 Mar 2006 03:06:36 +0000 (22:06 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 10 Mar 2006 03:06:36 +0000 (22:06 -0500)
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c

index 5de29b941c6b2bdc7d17d24a87ea6d264622718c..3eb11a175904ff598149e1e73bebf23c41a19377 100644 (file)
@@ -1063,6 +1063,7 @@ void sas_release_transport(struct scsi_transport_template *t)
        transport_container_unregister(&i->t.host_attrs);
        transport_container_unregister(&i->phy_attr_cont);
        transport_container_unregister(&i->rphy_attr_cont);
+       transport_container_unregister(&i->end_dev_attr_cont);
 
        kfree(i);
 }