fs/dax: Clarify nr_pages to dax_direct_access()
authorIra Weiny <ira.weiny@intel.com>
Tue, 25 May 2021 17:24:27 +0000 (10:24 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 8 Jul 2021 05:10:03 +0000 (22:10 -0700)
commit44788591c3cfb81d9315b8ee5c2076e51bfe8a39
tree2699dcc011cf9fad9d81e19b1e823c903a27319c
parent2e29be2e491595407087ab36a5e5a159be693f7b
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: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20210525172428.3634316-3-ira.weiny@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c