summaryrefslogtreecommitdiff
path: root/drivers/spi/spi_s3c24xx.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2009-01-13 15:50:37 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-13 16:48:11 (GMT)
commit32aeef605aa01e1fee45e052eceffb00e72ba2b0 (patch)
tree7ad435682378ff585b1205a5a9ce5d6124c8284a /drivers/spi/spi_s3c24xx.c
parentdebf47779efd6eace440c884c8cca2665d966eb4 (diff)
downloadlinux-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/spi/spi_s3c24xx.c')
0 files changed, 0 insertions, 0 deletions