Skip to content
Commit cfe057f7 authored by Al Viro's avatar Al Viro Committed by Al Viro
Browse files

iomap_dio_actor(): fix iov_iter bugs



1) Ignoring return value from iov_iter_zero() is wrong
for iovec-backed case as well as for pipes - it can fail.

2) Failure to fault destination pages in 25Mb into a 50Mb iovec
should not act as if nothing in the area had been read, nevermind
that the first 25Mb might have *already* been read by that point.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8ececffa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment