aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/configfs.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2019-07-04 08:10:47 +0200
committerChristoph Hellwig <hch@lst.de>2019-07-09 14:18:03 -0700
commit04e70bd4a0264a3d488a9eff6e116d7dc9a77967 (patch)
tree5b8aa2aec3751e985f87af763397dedbb4618516 /drivers/nvme/target/configfs.c
parentnvme-multipath: also check for a disabled path if there is a single sibling (diff)
downloadlinux-dev-04e70bd4a0264a3d488a9eff6e116d7dc9a77967.tar.xz
linux-dev-04e70bd4a0264a3d488a9eff6e116d7dc9a77967.zip
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>
Diffstat (limited to 'drivers/nvme/target/configfs.c')
0 files changed, 0 insertions, 0 deletions