commit | 04e70bd4a0264a3d488a9eff6e116d7dc9a77967 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Jul 04 08:10:47 2019 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Tue Jul 09 14:18:03 2019 -0700 |
tree | 5b8aa2aec3751e985f87af763397dedbb4618516 | |
parent | 2032d074716a811440aa9cd2e971a0716646d6af [diff] |
nvme-multipath: do not select namespaces which are about to be removed nvme_ns_remove() will first set the NVME_NS_REMOVING flag before removing it from the list at the very last step. So to avoid selecting a namespace in nvme_find_path() which is about to be removed check the NVME_NS_REMOVING flag, too, when selecting a new path. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de>