https://github.com/torvalds/linux
Revision e8f74a0f00113d74ac18d6de13096f9e2f95618a authored by Mike Snitzer on 12 March 2018, 23:49:25 UTC, committed by Mike Snitzer on 13 March 2018, 19:09:56 UTC
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>
1 parent c373667
History
Tip revision: e8f74a0f00113d74ac18d6de13096f9e2f95618a authored by Mike Snitzer on 12 March 2018, 23:49:25 UTC
dm mpath: eliminate need to use scsi_device_from_queue
Tip revision: e8f74a0
File Mode Size
arm
interface
acpi.h -rw-r--r-- 3.4 KB
balloon.h -rw-r--r-- 1.3 KB
events.h -rw-r--r-- 4.3 KB
features.h -rw-r--r-- 502 bytes
grant_table.h -rw-r--r-- 9.1 KB
hvc-console.h -rw-r--r-- 518 bytes
hvm.h -rw-r--r-- 1.3 KB
page.h -rw-r--r-- 1.3 KB
platform_pci.h -rw-r--r-- 2.0 KB
swiotlb-xen.h -rw-r--r-- 271 bytes
tmem.h -rw-r--r-- 349 bytes
xen-ops.h -rw-r--r-- 5.9 KB
xen.h -rw-r--r-- 972 bytes
xenbus.h -rw-r--r-- 8.2 KB
xenbus_dev.h -rw-r--r-- 1.8 KB

back to top