libnvdimm, label: add v1.2 label checksum support
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jun 2017 21:56:43 +0000 (14:56 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Jun 2017 21:31:40 +0000 (14:31 -0700)
commit355d838878e1baec494c228458238d078dc3ca51
treef49f03d2e84e8d23008b3b5ff0f67a2d479d6375
parent3934d8410cb837c5f6bff54e66574a4bbcef340a
libnvdimm, label: add v1.2 label checksum support

The v1.2 namespace label specification adds a fletcher checksum to each
label instance. Add generation and validation support for the new field.

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