aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2019-05-03 09:37:35 -0400
committerChristoph Hellwig <hch@lst.de>2019-05-13 10:00:03 -0400
commit8a03b27ea61c2ab9de16a8a195822ef05e799748 (patch)
tree6dab8869fed56c2b1422e12f47af9e33ca52dbec /lib/mpi/mpi-inline.h
parent8730c1ddb69bdeeb10c1f613a4e15e95862b1981 (diff)
nvme-multipath: avoid crash on invalid subsystem cntlid enumeration
A process holding an open reference to a removed disk prevents it from completing deletion, so its name continues to exist. A subsequent gendisk creation may have the same cntlid which risks collision when using that for the name. Use the unique ctrl->instance instead. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions