summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/namespace_devs.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-10-05 21:13:23 -0700
committerDan Williams <dan.j.williams@intel.com>2016-10-07 09:22:53 -0700
commit16660eaea0ccc6d0692f173922cd365876eb288e (patch)
tree9a833933b28c11ee81bc5a7c4c52af59f443c210 /drivers/nvdimm/namespace_devs.c
parent012207334a26727369b2668716d84e55af1f1d22 (diff)
downloadlinux-16660eaea0ccc6d0692f173922cd365876eb288e.tar.bz2
libnvdimm, namespace: update label implementation for multi-pmem
Instead of assuming that there will only ever be one allocated range at the start of the region, account for additional namespaces that might start at an offset from the region base. After this change pmem namespaces now have a reason to carry an array of resources similar to blk. Unifying the resource tracking infrastructure in nd_namespace_common is a future cleanup candidate. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/namespace_devs.c')
0 files changed, 0 insertions, 0 deletions