summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-09-24 14:21:15 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 07:35:41 (GMT)
commited35ded9c781b2cd86bec3b7b91fd65f310e4700 (patch)
treec462a0051904c6cabb6490a0941057a166eabeef /drivers
parente67dfe75b6830279ef24bfa5237c1488e2890a8d (diff)
downloadlinux-ed35ded9c781b2cd86bec3b7b91fd65f310e4700.tar.xz
bio_copy_user_iov(): don't ignore ->iov_offset
commit 1cfd0ddd82232804e03f3023f6a58b50dfef0574 upstream. Since "block: support large requests in blk_rq_map_user_iov" we started to call it with partially drained iter; that works fine on the write side, but reads create a copy of iter for completion time. And that needs to take the possibility of ->iov_iter != 0 into account... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions