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
Raw File
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
.get_maintainer.ignore
Christoph Hellwig <hch@lst.de>
back to top