libnvdimm, label: populate 'isetcookie' for blk-aperture namespaces
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jun 2017 18:39:30 +0000 (11:39 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Jun 2017 21:31:40 +0000 (14:31 -0700)
commit8f2bc2430e4ec53ea961997d760c3b35f729e444
treeb22d8530aca1b1c470c34f6ae46110f030bc4198
parentfaec6f8a1cd2c44e439de35ab3328c5cf7bf52d8
libnvdimm, label: populate 'isetcookie' for blk-aperture namespaces

Starting with the v1.2 definition of namespace labels, the isetcookie
field is populated and validated for blk-aperture namespaces. This adds
some safety against inadvertent copying of namespace labels from one
DIMM-device to another.

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