summaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2017-09-11 22:17:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-10-12 04:38:02 +0200
commitcfe057f7db1ff026c8db75469a3f9ba9736e1975 (patch)
tree95f92a36480525b3918b6e1a6d9b26d236160565 /fs/orangefs
parentswitch ksocknal_lib_recv_...() to use of iov_iter_for_each_range() (diff)
downloadlinux-cfe057f7db1ff026c8db75469a3f9ba9736e1975.tar.xz
linux-cfe057f7db1ff026c8db75469a3f9ba9736e1975.zip
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/orangefs')
0 files changed, 0 insertions, 0 deletions