diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-08-08 00:41:00 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-08-28 02:40:58 +0300 |
commit | cb389b9c0e00c30c9daf20287f7d91e2466edbb1 (patch) | |
tree | a4a1509038a419fbb90918dfee9ea099160680de /fs | |
parent | 4a9bf88a5caa8495b5eb2b738d5fb40924bbc538 (diff) | |
download | linux-cb389b9c0e00c30c9daf20287f7d91e2466edbb1.tar.xz |
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 'fs')
-rw-r--r-- | fs/block_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 2345a9870e2c..3831e5691b32 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -462,7 +462,7 @@ long bdev_direct_access(struct block_device *bdev, sector_t sector, sector += get_start_sect(bdev); if (sector % (PAGE_SIZE / 512)) return -EINVAL; - avail = ops->direct_access(bdev, sector, addr, pfn, size); + avail = ops->direct_access(bdev, sector, addr, pfn); if (!avail) return -ERANGE; return min(avail, size); |