projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b95067
)
[SCSI] sas: clear parent->rphy in sas_rphy_delete
author
Christoph Hellwig
<hch@lst.de>
Wed, 11 Jan 2006 13:20:43 +0000
(14:20 +0100)
committer
James Bottomley
<jejb@mulgrave.(none)>
Thu, 12 Jan 2006 17:53:54 +0000
(11:53 -0600)
We need to clear the backpointer on rphy removal, else we'll run into
problems with host removal after a device has been hot unplugged.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_transport_sas.c
b/drivers/scsi/scsi_transport_sas.c
index edabbd05d258882050661058b8bb32da15e69672..357b52f5f9969a8f71fa39c3cc38ddd853b2c0fa 100644
(file)
--- a/
drivers/scsi/scsi_transport_sas.c
+++ b/
drivers/scsi/scsi_transport_sas.c
@@
-697,6
+697,8
@@
sas_rphy_delete(struct sas_rphy *rphy)
list_del(&rphy->list);
spin_unlock(&sas_host->lock);
+ parent->rphy = NULL;
+
put_device(&parent->dev);
}
EXPORT_SYMBOL(sas_rphy_delete);