summaryrefslogtreecommitdiffstats
path: root/drivers/video/cobalt_lcdfb.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2009-01-13 16:50:37 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-13 10:48:11 -0600
commit32aeef605aa01e1fee45e052eceffb00e72ba2b0 (patch)
tree7ad435682378ff585b1205a5a9ce5d6124c8284a /drivers/video/cobalt_lcdfb.c
parentdebf47779efd6eace440c884c8cca2665d966eb4 (diff)
downloadblackbird-op-linux-32aeef605aa01e1fee45e052eceffb00e72ba2b0.tar.gz
blackbird-op-linux-32aeef605aa01e1fee45e052eceffb00e72ba2b0.zip
[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/video/cobalt_lcdfb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud