Files
linux/drivers
Alan Stern 39b7f1e25a [SCSI] sd: Fix refcounting
Currently the driver takes a reference only for requests coming by way
of the gendisk, not for requests coming by way of the struct device or
struct scsi_device.  Such requests can arrive in the rescan, flush,
and shutdown pathways.

The patch also makes the scsi_disk keep a reference to the underlying
scsi_device, and it erases the scsi_device's pointer to the scsi_disk
when the scsi_device is removed (since the pointer should no longer be
used).

This resolves Bugzilla entry #5237.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-11-05 09:52:24 -06:00
..
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:10 -08:00
2005-10-31 13:37:12 +11:00
2005-10-28 10:13:16 -07:00
2005-10-31 09:20:54 -08:00
2005-10-30 17:37:32 -08:00
2005-11-02 15:20:55 +11:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-04 22:29:52 -06:00
2005-10-28 12:18:07 -04:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-05 09:52:24 -06:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-09-11 19:15:07 -07:00
2005-10-28 16:47:38 -07:00