libnvdimm, namespace: expand pmem device naming scheme for multi-pmem
authorDan Williams <dan.j.williams@intel.com>
Wed, 5 Oct 2016 16:09:44 +0000 (09:09 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 7 Oct 2016 16:22:53 +0000 (09:22 -0700)
commit012207334a26727369b2668716d84e55af1f1d22
treeb11eddf4dadf239e7ebc14df24b9811d9d19e5d3
parenta1f3e4d6a0c322eb3e7fdfcc9facdcdf19130434
libnvdimm, namespace: expand pmem device naming scheme for multi-pmem

pmem devices are currently named /dev/pmem<region-index>. Preserve the
naming of the 0th device, but add a ".<namespace-index>" for other
devices.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/namespace_devs.c