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
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
dm mpath: eliminate need to use scsi_device_from_queue
Tip revision: e8f74a0
File | Mode | Size |
---|---|---|
fc | ||
fc_encode.h | -rw-r--r-- | 21.6 KB |
fc_frame.h | -rw-r--r-- | 6.9 KB |
fcoe_sysfs.h | -rw-r--r-- | 3.8 KB |
iscsi_if.h | -rw-r--r-- | 26.1 KB |
iscsi_proto.h | -rw-r--r-- | 16.1 KB |
iser.h | -rw-r--r-- | 2.3 KB |
libfc.h | -rw-r--r-- | 31.7 KB |
libfcoe.h | -rw-r--r-- | 14.0 KB |
libiscsi.h | -rw-r--r-- | 14.3 KB |
libiscsi_tcp.h | -rw-r--r-- | 4.3 KB |
libsas.h | -rw-r--r-- | 18.5 KB |
osd_attributes.h | -rw-r--r-- | 15.0 KB |
osd_initiator.h | -rw-r--r-- | 16.3 KB |
osd_ore.h | -rw-r--r-- | 5.4 KB |
osd_protocol.h | -rw-r--r-- | 17.6 KB |
osd_sec.h | -rw-r--r-- | 1.5 KB |
osd_sense.h | -rw-r--r-- | 9.9 KB |
osd_types.h | -rw-r--r-- | 1020 bytes |
sas.h | -rw-r--r-- | 13.2 KB |
sas_ata.h | -rw-r--r-- | 2.7 KB |
scsi.h | -rw-r--r-- | 8.7 KB |
scsi_bsg_iscsi.h | -rw-r--r-- | 2.8 KB |
scsi_cmnd.h | -rw-r--r-- | 9.5 KB |
scsi_common.h | -rw-r--r-- | 2.1 KB |
scsi_dbg.h | -rw-r--r-- | 2.2 KB |
scsi_device.h | -rw-r--r-- | 20.5 KB |
scsi_devinfo.h | -rw-r--r-- | 2.5 KB |
scsi_dh.h | -rw-r--r-- | 3.2 KB |
scsi_driver.h | -rw-r--r-- | 859 bytes |
scsi_eh.h | -rw-r--r-- | 1.6 KB |
scsi_host.h | -rw-r--r-- | 27.5 KB |
scsi_ioctl.h | -rw-r--r-- | 1.3 KB |
scsi_proto.h | -rw-r--r-- | 10.7 KB |
scsi_request.h | -rw-r--r-- | 667 bytes |
scsi_tcq.h | -rw-r--r-- | 1.0 KB |
scsi_transport.h | -rw-r--r-- | 3.2 KB |
scsi_transport_fc.h | -rw-r--r-- | 26.5 KB |
scsi_transport_iscsi.h | -rw-r--r-- | 17.1 KB |
scsi_transport_sas.h | -rw-r--r-- | 6.8 KB |
scsi_transport_spi.h | -rw-r--r-- | 7.2 KB |
scsi_transport_srp.h | -rw-r--r-- | 4.8 KB |
scsicam.h | -rw-r--r-- | 713 bytes |
sg.h | -rw-r--r-- | 12.1 KB |
srp.h | -rw-r--r-- | 6.5 KB |
viosrp.h | -rw-r--r-- | 6.1 KB |
Computing file changes ...