diff options
author | Hannes Reinecke <hare@suse.de> | 2017-02-17 11:02:45 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-23 02:41:42 +0300 |
commit | 857de6e00778738dc3d61f75acbac35bdc48e533 (patch) | |
tree | 6c50408c15f9326270e4680636b3e8fa6379000b /drivers/scsi/cxlflash | |
parent | f22aaec97d889f3fbf89b185309bdc98b8202eda (diff) | |
download | linux-857de6e00778738dc3d61f75acbac35bdc48e533.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/cxlflash')
0 files changed, 0 insertions, 0 deletions