diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 11:27:40 +0200 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 11:27:40 +0200 |
commit | 3edebac41bab7e146578ad9e723ee7fff71c99c0 (patch) | |
tree | c5f1276f7c0e93b51ad67b12e241b37c05f4f38a /drivers/scsi/libata.h | |
parent | [PATCH] libata-hp-prep: implement ap->hw_sata_spd_limit (diff) | |
download | linux-3edebac41bab7e146578ad9e723ee7fff71c99c0.tar.xz linux-3edebac41bab7e146578ad9e723ee7fff71c99c0.zip |
[PATCH] libata-hp-prep: store attached SCSI device
Add device persistent field dev->sdev and store the attached SCSI
device. With hotplug, libata needs to know the attached SCSI device
to offline and detach it, but scsi_device_lookup() cannot be used
because libata will reuse SCSI ID numbers - dead but not gone devices
(due to zombie opens, etc...) interfere with the lookup.
dev->sdev doesn't hold reference to the SCSI device. It's cleared
when the SCSI device goes away.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions