diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-09-03 20:36:00 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-09-03 20:40:57 +0300 |
commit | 4c3cb6e9a9d94d1553807854a565cd27ff4c22aa (patch) | |
tree | 3080bceb1954d684c570fa96337098f433165f9b /mm | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) | |
download | linux-4c3cb6e9a9d94d1553807854a565cd27ff4c22aa.tar.xz |
dax: fix mapping size check
pgoff_to_phys() validates that both the starting address and the length
of the mapping against the resource list. We need to check for a
mapping size of PMD_SIZE not PAGE_SIZE in the pmd fault path.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions