diff options
author | Hannes Reinecke <hare@suse.de> | 2009-01-13 15:50:37 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-13 16:48:11 (GMT) |
commit | 32aeef605aa01e1fee45e052eceffb00e72ba2b0 (patch) | |
tree | 7ad435682378ff585b1205a5a9ce5d6124c8284a /drivers/eisa/eisa-bus.c | |
parent | debf47779efd6eace440c884c8cca2665d966eb4 (diff) | |
download | linux-fsl-qoriq-32aeef605aa01e1fee45e052eceffb00e72ba2b0.tar.xz |
[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>
Diffstat (limited to 'drivers/eisa/eisa-bus.c')
0 files changed, 0 insertions, 0 deletions