commit | cfe057f7db1ff026c8db75469a3f9ba9736e1975 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Mon Sep 11 21:17:09 2017 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Oct 11 22:38:02 2017 -0400 |
tree | 95f92a36480525b3918b6e1a6d9b26d236160565 | |
parent | 8ececffa12f5555171075ce52e1226f570836b26 [diff] |
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: Al Viro <viro@zeniv.linux.org.uk>