summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/label.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-06-06 14:59:04 -0700
committerDan Williams <dan.j.williams@intel.com>2017-06-15 14:31:40 -0700
commit3934d8410cb837c5f6bff54e66574a4bbcef340a (patch)
tree0ddb31e5e956fcb7b0dd53de0bdef15e506f8193 /drivers/nvdimm/label.h
parent8f2bc2430e4ec53ea961997d760c3b35f729e444 (diff)
downloadlwn-3934d8410cb837c5f6bff54e66574a4bbcef340a.tar.gz
lwn-3934d8410cb837c5f6bff54e66574a4bbcef340a.zip
libnvdimm, label: update 'nlabel' and 'position' handling for local namespaces
The v1.2 namespace label specification requires 'nlabel' and 'position' to be valid for the first ("lowest dpa") label in the set. It also requires all non-first labels to set those fields to 0xff. Linux does not much care if these values are correct, because we can just trust the count of labels with the matching uuid like the v1.1 case. However, we set them correctly in case other environments care. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/label.h')
0 files changed, 0 insertions, 0 deletions