libnvdimm, namespace: record 'lbasize' for pmem namespaces
authorDan Williams <dan.j.williams@intel.com>
Mon, 3 Jul 2017 23:30:44 +0000 (16:30 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 3 Jul 2017 23:30:44 +0000 (16:30 -0700)
commit2de5148ffb12ff6b4088125f44818771e78e6830
tree906ff26f0ff7c902c23293cb8f2818bbeaac4429
parent807900395efebf9276178eb6157959f2e81fe013
libnvdimm, namespace: record 'lbasize' for pmem namespaces

Commit f979b13c3cc5 "libnvdimm, label: honor the lba size specified in
v1.2 labels") neglected to update the 'lbasize' in the label when the
namespace sector_size attribute was written. We need this value in the
label for inter-OS / pre-OS compatibility.

Fixes: f979b13c3cc5 ("libnvdimm, label: honor the lba size specified in v1.2 labels")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/label.c