nvme-multipath: also check for a disabled path if there is a single sibling
authorHannes Reinecke <hare@suse.de>
Thu, 4 Jul 2019 06:10:46 +0000 (08:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 9 Jul 2019 21:17:21 +0000 (14:17 -0700)
commit2032d074716a811440aa9cd2e971a0716646d6af
tree4598ffeecf6e87316361331a53091becfed718fb
parentca7ae5c966bd4c00626d6ba05d68219f3c1fba36
nvme-multipath: also check for a disabled path if there is a single sibling

When we have a singular list in nvme_round_robin_path() we still
need to check its validity.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/multipath.c