summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2017-09-11 21:17:09 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2017-10-11 22:38:02 -0400
commitcfe057f7db1ff026c8db75469a3f9ba9736e1975 (patch)
tree95f92a36480525b3918b6e1a6d9b26d236160565 /drivers/xen
parent8ececffa12f5555171075ce52e1226f570836b26 (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>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions