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/gfs2 | |
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/gfs2')
-rw-r--r-- | fs/gfs2/aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index 228a12d2afa9..910838951d66 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c @@ -1097,7 +1097,7 @@ static ssize_t gfs2_direct_IO(int rw, struct kiocb *iocb, } rv = __blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, - iter->iov, offset, iter->nr_segs, + iter, offset, gfs2_get_block_direct, NULL, NULL, 0); out: gfs2_glock_dq(&gh); |