summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-08-07 17:41:00 -0400
committerDan Williams <dan.j.williams@intel.com>2015-08-27 19:40:58 -0400
commitcb389b9c0e00c30c9daf20287f7d91e2466edbb1 (patch)
treea4a1509038a419fbb90918dfee9ea099160680de /include/linux/blkdev.h
parent4a9bf88a5caa8495b5eb2b738d5fb40924bbc538 (diff)
downloadlinux-cb389b9c0e00c30c9daf20287f7d91e2466edbb1.tar.gz
linux-cb389b9c0e00c30c9daf20287f7d91e2466edbb1.tar.bz2
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 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index c401ecdff9cb..c22064f326b2 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1556,7 +1556,7 @@ struct block_device_operations {
int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
long (*direct_access)(struct block_device *, sector_t, void __pmem **,
- unsigned long *pfn, long size);
+ unsigned long *pfn);
unsigned int (*check_events) (struct gendisk *disk,
unsigned int clearing);
/* ->media_changed() is DEPRECATED, use ->check_events() instead */