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
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 8.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 435.6 KB
Makefile -rw-r--r-- 60.2 KB
README -rw-r--r-- 722 bytes

README

back to top