Skip to content
Commit 44788591 authored by Ira Weiny's avatar Ira Weiny Committed by Dan Williams
Browse files

fs/dax: Clarify nr_pages to dax_direct_access()



dax_direct_access() takes a number of pages.  PHYS_PFN(PAGE_SIZE) is a
very round about way to specify '1'.

Change the nr_pages parameter to the explicit value of '1'.

Reviewed-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20210525172428.3634316-3-ira.weiny@intel.com
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 2e29be2e
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