libnvdimm, pfn: add parent uuid validation
authorDan Williams <dan.j.williams@intel.com>
Sun, 13 Dec 2015 00:09:14 +0000 (16:09 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 13 Dec 2015 19:40:20 +0000 (11:40 -0800)
commita34d5e8a6ad1a31b186019c9c351777626698863
tree8ca570f659c71e0118486dda5249d5cf7908bdc0
parent315c562536c42aa4da9b6c5a2135dd6715a5e0b5
libnvdimm, pfn: add parent uuid validation

Track and check the uuid of the namespace hosting a pfn instance.  This
forces the pfn info block to be invalidated if the namespace is
re-configured with a different uuid.

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