Tejun Heo 3edebac41b [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>
2006-05-31 18:27:40 +09:00
..
2006-05-24 01:34:10 -04:00
2006-05-26 11:55:46 -07:00
2006-05-21 12:59:18 -07:00
2006-05-24 08:35:31 -07:00
2006-05-21 12:59:22 -07:00
2006-05-21 12:59:17 -07:00
2006-05-21 12:59:22 -07:00