diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-09-24 16:21:15 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-10-11 05:55:14 +0200 |
commit | 1cfd0ddd82232804e03f3023f6a58b50dfef0574 (patch) | |
tree | d947cd8a4539b38383065b80d1cc1e3dff6df948 /usr/.gitignore | |
parent | more bio_map_user_iov() leak fixes (diff) | |
download | linux-1cfd0ddd82232804e03f3023f6a58b50dfef0574.tar.xz linux-1cfd0ddd82232804e03f3023f6a58b50dfef0574.zip |
bio_copy_user_iov(): don't ignore ->iov_offset
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...
Cc: stable@vger.kernel.org #v4.5+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions