Skip to content
Commit 4c3cb6e9 authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarDan Williams <dan.j.williams@intel.com>
parent 3eab887a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment