diff options
author | Dan Williams | 2021-08-11 12:04:43 -0700 |
---|---|---|
committer | Dan Williams | 2021-08-11 12:04:43 -0700 |
commit | 96dcb97d0a40a60b9aee9f2c7a44ce8a1b6704bc (patch) | |
tree | 62a1534997a3b4048c8d4a9f036578a50fff9e49 /fs/fuse | |
parent | f21453b0ff6e307bfd59e7a126d9848cea25315c (diff) | |
parent | b05d4c576b697b9f462b9c532c997171d5c3b067 (diff) |
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.
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/dax.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/fuse/dax.c b/fs/fuse/dax.c index e55723744f58..9d58371d22c2 100644 --- a/fs/fuse/dax.c +++ b/fs/fuse/dax.c @@ -1235,8 +1235,6 @@ void fuse_dax_conn_free(struct fuse_conn *fc) static int fuse_dax_mem_range_init(struct fuse_conn_dax *fcd) { long nr_pages, nr_ranges; - void *kaddr; - pfn_t pfn; struct fuse_dax_mapping *range; int ret, id; size_t dax_size = -1; @@ -1248,8 +1246,8 @@ static int fuse_dax_mem_range_init(struct fuse_conn_dax *fcd) INIT_DELAYED_WORK(&fcd->free_work, fuse_dax_free_mem_worker); id = dax_read_lock(); - nr_pages = dax_direct_access(fcd->dev, 0, PHYS_PFN(dax_size), &kaddr, - &pfn); + nr_pages = dax_direct_access(fcd->dev, 0, PHYS_PFN(dax_size), NULL, + NULL); dax_read_unlock(id); if (nr_pages < 0) { pr_debug("dax_direct_access() returned %ld\n", nr_pages); |