diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2018-03-23 14:37:05 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-09 22:35:12 +0200 |
commit | 2ee5671e3ae35e53bb5a53a89ac8f033e4b1721f (patch) | |
tree | a73d28aef958f9c4ecb75541e52a3aa5ad576cfc /include/scsi/osd_initiator.h | |
parent | scsi: core: remove redundant assignment to shost->use_blk_mq (diff) | |
download | linux-2ee5671e3ae35e53bb5a53a89ac8f033e4b1721f.tar.xz linux-2ee5671e3ae35e53bb5a53a89ac8f033e4b1721f.zip |
scsi: scsi_dh: Don't look for NULL devices handlers by name
Currently scsi_dh_lookup() doesn't check for NULL as a device name. This
combined with nvme over dm-mpath results in the following messages
emitted by device-mapper:
device-mapper: multipath: Could not failover device 259:67: Handler scsi_dh_(null) error 14.
Let scsi_dh_lookup() fail fast on NULL names.
[mkp: typo fix]
Cc: <stable@vger.kernel.org> # v4.16
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/osd_initiator.h')
0 files changed, 0 insertions, 0 deletions