Commit 2e29be2
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>1 parent 62fb987 commit 2e29be2
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
1237 | | - | |
1238 | | - | |
1239 | 1237 | | |
1240 | 1238 | | |
1241 | 1239 | | |
| |||
1247 | 1245 | | |
1248 | 1246 | | |
1249 | 1247 | | |
1250 | | - | |
1251 | | - | |
| 1248 | + | |
| 1249 | + | |
1252 | 1250 | | |
1253 | 1251 | | |
1254 | 1252 | | |
| |||
0 commit comments