diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-08-07 23:41:00 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-08-28 01:40:58 +0200 |
commit | cb389b9c0e00c30c9daf20287f7d91e2466edbb1 (patch) | |
tree | a4a1509038a419fbb90918dfee9ea099160680de /drivers/nvdimm/pmem.c | |
parent | Merge branch 'pmem-api' into libnvdimm-for-next (diff) | |
download | linux-cb389b9c0e00c30c9daf20287f7d91e2466edbb1.tar.xz linux-cb389b9c0e00c30c9daf20287f7d91e2466edbb1.zip |
dax: drop size parameter to ->direct_access()
None of the implementations currently use it. The common
bdev_direct_access() entry point handles all the size checks before
calling ->direct_access().
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/pmem.c')
-rw-r--r-- | drivers/nvdimm/pmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c index f3b629779266..3b5b9cb758b6 100644 --- a/drivers/nvdimm/pmem.c +++ b/drivers/nvdimm/pmem.c @@ -92,7 +92,7 @@ static int pmem_rw_page(struct block_device *bdev, sector_t sector, } static long pmem_direct_access(struct block_device *bdev, sector_t sector, - void __pmem **kaddr, unsigned long *pfn, long size) + void __pmem **kaddr, unsigned long *pfn) { struct pmem_device *pmem = bdev->bd_disk->private_data; size_t offset = sector << 9; |