summaryrefslogtreecommitdiffstats
path: root/tools/hv
diff options
context:
space:
mode:
authorDan Williams2019-02-21 06:12:50 +0100
committerDan Williams2019-02-21 06:12:50 +0100
commitad428cdb525a97d15c0349fdc80f3d58befb50df (patch)
tree31bebae17f60a5e5a214e135e216fab74e840966 /tools/hv
parentlibnvdimm/pmem: Honor force_raw for legacy pmem regions (diff)
downloadkernel-qcow2-linux-ad428cdb525a97d15c0349fdc80f3d58befb50df.tar.gz
kernel-qcow2-linux-ad428cdb525a97d15c0349fdc80f3d58befb50df.tar.xz
kernel-qcow2-linux-ad428cdb525a97d15c0349fdc80f3d58befb50df.zip
dax: Check the end of the block-device capacity with dax_direct_access()
The checks in __bdev_dax_supported() helped mitigate a potential data corruption bug in the pmem driver's handling of section alignment padding. Strengthen the checks, including checking the end of the range, to validate the dev_pagemap, Xarray entries, and sector-to-pfn translation established for pmem namespaces. Acked-by: Jan Kara <jack@suse.cz> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/hv')
0 files changed, 0 insertions, 0 deletions