Hannes Reinecke 857de6e007 scsi: use 'scsi_device_from_queue()' for scsi_dh
The device handler needs to check if a given queue belongs to a scsi
device; only then does it make sense to attach a device handler.

[mkp: dropped flags]

Cc: <stable@vger.kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-22 18:41:42 -05:00
..
2017-02-22 11:44:32 -08:00
2017-02-22 10:30:38 -08:00
2017-02-20 14:23:40 +01:00
2017-02-22 10:46:44 -08:00
2017-02-20 16:42:43 -08:00
2017-02-21 16:58:32 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 12:04:54 -08:00
2017-02-21 10:57:33 -08:00
2017-02-22 11:44:32 -08:00
2017-02-22 11:15:59 -08:00
2017-01-25 16:11:55 +00:00
2017-02-20 17:23:57 -08:00
2017-01-30 14:39:20 +01:00
2017-02-20 17:55:15 -08:00
2017-02-20 14:22:50 +01:00
2017-02-14 10:20:35 -08:00
2017-02-22 11:15:59 -08:00
2017-02-20 16:42:43 -08:00
2017-02-11 20:59:41 -05:00