Hannes Reinecke 32aeef605a [SCSI] Skip deleted devices in __scsi_device_lookup_by_target()
__scsi_device_lookup_by_target() will always return
the first sdev with a matching LUN, regardless of
the state. However, when this sdev is in SDEV_DEL
scsi_device_lookup_by_target() will ignore this
device and so any valid device on the list after
the deleted device will never be found.
So we have to modify __scsi_device_lookup_by_target()
to skip any device in SDEV_DEL.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-01-13 10:48:11 -06:00
..
2009-01-08 16:29:41 +00:00
2009-01-13 10:35:01 -05:00
2009-01-12 16:37:00 -08:00
2009-01-06 15:59:30 -08:00
2009-01-08 08:31:15 -08:00
2009-01-09 03:39:43 -05:00
2009-01-11 01:34:25 +01:00
2009-01-11 18:36:30 +01:00
2009-01-11 01:34:25 +01:00
2009-01-09 12:37:15 -08:00
2009-01-13 08:03:46 -08:00
2009-01-09 03:39:43 -05:00
2009-01-11 01:34:25 +01:00
2009-01-11 01:34:24 +01:00
2009-01-11 00:05:16 -08:00
2009-01-12 16:37:00 -08:00