]> Git Repo - linux.git/commit
libnvdimm, pmem: fix size trim in pmem_direct_access()
authorDan Williams <[email protected]>
Sun, 25 Oct 2015 02:55:58 +0000 (19:55 -0700)
committerDan Williams <[email protected]>
Thu, 12 Nov 2015 17:55:23 +0000 (09:55 -0800)
commit589e75d15702dc720b363a92f984876704864946
tree82d183895174d8e151f84cbf0e4f0d2436301f7d
parentf7256dc0cdbc68903502997bde619f555a910f50
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: <[email protected]>
Cc: Ross Zwisler <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
drivers/nvdimm/pmem.c
This page took 0.060212 seconds and 4 git commands to generate.