switch {__,}blockdev_direct_IO() to iov_iter

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2014-03-05 01:33:16 -05:00
commit 31b140398c
19 changed files with 49 additions and 60 deletions

View file

@ -1855,8 +1855,7 @@ static ssize_t ext3_direct_IO(int rw, struct kiocb *iocb,
}
retry:
ret = blockdev_direct_IO(rw, iocb, inode, iter->iov, offset,
iter->nr_segs, ext3_get_block);
ret = blockdev_direct_IO(rw, iocb, inode, iter, offset, ext3_get_block);
/*
* In case of error extending write may have instantiated a few
* blocks outside i_size. Trim these off again.