libnvdimm/label: Remove the dpa align check
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 5 Sep 2019 15:46:01 +0000 (21:16 +0530)
committerDan Williams <dan.j.williams@intel.com>
Thu, 5 Sep 2019 23:11:14 +0000 (16:11 -0700)
commit047e0eff1f150220d615c35c36af225f3e1ed057
tree6653fe86108ad22521742799dfb05d7fbb849896
parentedbb52c24441ab5203b969eca759483cb533f36d
libnvdimm/label: Remove the dpa align check

There's no strict requirement why slot_valid() needs to check for page alignment
and it would seem to actively hurt cross-page-size compatibility. Let's
delete the check and rely on checksum validation.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Link: https://lore.kernel.org/r/20190905154603.10349-6-aneesh.kumar@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/label.c