diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-05 07:33:16 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 23:32:46 +0200 |
commit | 31b140398ce56ab41646eda7f02bcb78d6a4c916 (patch) | |
tree | 1cc4be44c5f94f9fe1829e5c53267f3ce9bad309 /fs/block_dev.c | |
parent | get rid of pointless iov_length() in ->direct_IO() (diff) | |
download | linux-31b140398ce56ab41646eda7f02bcb78d6a4c916.tar.xz linux-31b140398ce56ab41646eda7f02bcb78d6a4c916.zip |
switch {__,}blockdev_direct_IO() to iov_iter
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 938fc707d769..937e3011ed58 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -171,8 +171,8 @@ blkdev_direct_IO(int rw, struct kiocb *iocb, struct iov_iter *iter, struct file *file = iocb->ki_filp; struct inode *inode = file->f_mapping->host; - return __blockdev_direct_IO(rw, iocb, inode, I_BDEV(inode), iter->iov, - offset, iter->nr_segs, blkdev_get_block, + return __blockdev_direct_IO(rw, iocb, inode, I_BDEV(inode), iter, + offset, blkdev_get_block, NULL, NULL, 0); } |