OSDN Git Service

nvme-multipath: factor out a nvme_path_is_disabled helper
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:16:38 +0000 (14:16 -0700)
commitca7ae5c966bd4c00626d6ba05d68219f3c1fba36
treef7fad26c46d8b9377d670df3b701816c322039e4
parent81adb863349157c67ccec871e5ae5574600c50be
nvme-multipath: factor out a nvme_path_is_disabled helper

Factor our a common helper to check if a path has been disabled
by something other than the per-namespace ANA state.

Signed-off-by: Hannes Reinecke <hare@suse.com>
[hch: split from a bigger patch]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/multipath.c