libnvdimm, pmem: kill pmem->ndns
authorDan Williams <dan.j.williams@intel.com>
Tue, 15 Mar 2016 23:41:04 +0000 (16:41 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 17:59:54 +0000 (10:59 -0700)
commit298f2bc5db3851cf2e839a0025425256ef852139
tree0a08fc850f39f7160ab9bfe049e5eb66078c2f13
parentc3b46c73264b03000d1e18b22f5caf63332547c9
libnvdimm, pmem: kill pmem->ndns

We can derive the common namespace from other information.  We also do
not need to cache it because all the usages are in slow paths.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/blk.c
drivers/nvdimm/btt.c
drivers/nvdimm/nd.h
drivers/nvdimm/pmem.c