fs/fuse: Remove unneeded kaddr parameter
authorIra Weiny <ira.weiny@intel.com>
Tue, 25 May 2021 17:24:26 +0000 (10:24 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 8 Jul 2021 05:10:03 +0000 (22:10 -0700)
commit2e29be2e491595407087ab36a5e5a159be693f7b
treed1333362916bc0085e3fa768cb4968443e7a1164
parent62fb9874f5da54fdb243003b386128037319b219
fs/fuse: Remove unneeded kaddr parameter

fuse_dax_mem_range_init() does not need the address or the pfn of the
memory requested in dax_direct_access().  It is only calling direct
access to get the number of pages.

Remove the unused variables and stop requesting the kaddr and pfn from
dax_direct_access().

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Link: https://lore.kernel.org/r/20210525172428.3634316-2-ira.weiny@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/fuse/dax.c