summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2017-09-11 23:17:09 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-10-12 05:38:02 +0300
commitcfe057f7db1ff026c8db75469a3f9ba9736e1975 (patch)
tree95f92a36480525b3918b6e1a6d9b26d236160565 /fs/read_write.c
parent8ececffa12f5555171075ce52e1226f570836b26 (diff)
downloadlinux-cfe057f7db1ff026c8db75469a3f9ba9736e1975.tar.xz
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 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions