aboutsummaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-kernel.h
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 /fs/orangefs/orangefs-kernel.h
parentswitch ksocknal_lib_recv_...() to use of iov_iter_for_each_range() (diff)
downloadlinux-dev-cfe057f7db1ff026c8db75469a3f9ba9736e1975.tar.xz
linux-dev-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/orangefs-kernel.h')
0 files changed, 0 insertions, 0 deletions