Merge branch 'for-5.14/dax' into libnvdimm-fixes

Pick up some small dax cleanups that make some of Ira's follow on work
easier.
This commit is contained in:
Dan Williams
2021-08-11 12:04:43 -07:00
3 changed files with 4 additions and 6 deletions

View File

@@ -722,7 +722,7 @@ static int copy_cow_page_dax(struct block_device *bdev, struct dax_device *dax_d
return rc;
id = dax_read_lock();
rc = dax_direct_access(dax_dev, pgoff, PHYS_PFN(PAGE_SIZE), &kaddr, NULL);
rc = dax_direct_access(dax_dev, pgoff, 1, &kaddr, NULL);
if (rc < 0) {
dax_read_unlock(id);
return rc;