summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/label.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-06-04 06:12:07 +0300
committerDan Williams <dan.j.williams@intel.com>2017-06-16 00:31:39 +0300
commitf979b13c3cc51584882bffa32965f34e5afa3b9b (patch)
treeb1e4337476603d8e40790dfc9d7c1097237d8b53 /drivers/nvdimm/label.c
parentc12c48ce869d72029d70666f615cbd8f67fc14e9 (diff)
downloadlinux-f979b13c3cc51584882bffa32965f34e5afa3b9b.tar.xz
libnvdimm, label: honor the lba size specified in v1.2 labels
Previously we only honored the lba size for blk-aperture mode namespaces. For pmem namespaces the lba size was just assumed to be 512. With the new v1.2 label definition and compatibility with other operating environments, the ->lbasize property is now respected for pmem namespaces. Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/label.c')
0 files changed, 0 insertions, 0 deletions