[SCSI] sas: fix remote phy removal
authorChristoph Hellwig <hch@lst.de>
Sun, 25 Sep 2005 21:10:33 +0000 (23:10 +0200)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 25 Sep 2005 22:19:35 +0000 (17:19 -0500)
commitfe8b2304e54552cea113318e2f66c45628130fdc
treed44cdc471ced18d6e41c8d25b857bb4381d6ec75
parent44550322cb601ac3f882e7438bbeec971fa1b1a3
[SCSI] sas: fix remote phy removal

Brown paperbag bug:  sas_rphy_delete was ordered completely
wrong.  Fix it up to be the same order as sas_phy_delete or
fc_rport_terminate and fix rphy objects that leaked after module
removal.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c