mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
switch {__,}blockdev_direct_IO() to iov_iter
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
a6cbcd4a4a
commit
31b140398c
19 changed files with 49 additions and 60 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue