diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-03-12 19:49:25 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-03-13 15:09:56 -0400 |
commit | e8f74a0f00113d74ac18d6de13096f9e2f95618a (patch) | |
tree | bc9f364fa06510e223b94d1459526f111d5bec07 /drivers/video | |
parent | c37366742baa2bb3225be507d283baef151c5f8a (diff) | |
download | blackbird-obmc-linux-e8f74a0f00113d74ac18d6de13096f9e2f95618a.tar.gz blackbird-obmc-linux-e8f74a0f00113d74ac18d6de13096f9e2f95618a.zip |
dm mpath: eliminate need to use scsi_device_from_queue
Instead of scsi_device_from_queue(), use scsi_dh_attached_handler_name()
-- whose implementation uses scsi_device_from_queue() to avoid trying to
access SCSI-specific resources from non-SCSI devices.
Fixes buildbot reported issue when CONFIG_SCSI isn't set:
ERROR: "scsi_device_from_queue" [drivers/md/dm-multipath.ko] undefined!
Fixes: 8d47e65948dd ("dm mpath: remove unnecessary NVMe branching in favor of scsi_dh checks")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions