commit | fda490d39fc0668d92e170d95c11e35a010019aa | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <willy@infradead.org> | Fri Nov 16 15:07:31 2018 -0500 |
committer | Matthew Wilcox <willy@infradead.org> | Sat Nov 17 12:07:52 2018 -0500 |
tree | f41bf3ea920aec5da65926157dd3d220fcade6eb | |
parent | c5bbd4515a05f8acb7e6ab6297044a529762cbf5 [diff] |
dax: Fix dax_unlock_mapping_entry for PMD pages Device DAX PMD pages do not set the PageHead bit for compound pages. Fix for now by retrieving the PMD bit from the entry, but eventually we will be passed the page size by the caller. Reported-by: Dan Williams <dan.j.williams@intel.com> Fixes: 9f32d221301c ("dax: Convert dax_lock_mapping_entry to XArray") Signed-off-by: Matthew Wilcox <willy@infradead.org>