diff options
author | Keith Busch <keith.busch@intel.com> | 2018-04-26 14:22:41 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-03 09:37:50 -0600 |
commit | a785dbccd95c37606c720580714f5a7a8b3255f1 (patch) | |
tree | 7c361bfe2431b66646e50570137098ecfae0f36f /fs/d_path.c | |
parent | 5cadde8019a6a80550fdde92d5a3327565974eab (diff) |
nvme/multipath: Fix multipath disabled naming collisions
When CONFIG_NVME_MULTIPATH is set, but we're not using nvme to multipath,
namespaces with multiple paths were not creating unique names due to
reusing the same instance number from the namespace's head.
This patch fixes this by falling back to the non-multipath naming method
when the parameter disabled using multipath.
Reported-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/d_path.c')
0 files changed, 0 insertions, 0 deletions