commit | 589e75d15702dc720b363a92f984876704864946 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Sat Oct 24 19:55:58 2015 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Nov 12 09:55:23 2015 -0800 |
tree | 82d183895174d8e151f84cbf0e4f0d2436301f7d | |
parent | f7256dc0cdbc68903502997bde619f555a910f50 [diff] |
libnvdimm, pmem: fix size trim in pmem_direct_access() This masking prevents access to the end of the device via dax_do_io(), and is unnecessary as arch_add_memory() would have rejected an unaligned allocation. Cc: <stable@vger.kernel.org> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>