Home
last modified time | relevance | path

Searched hist:"1 cfd0ddd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dbio.c1cfd0ddd Sun Sep 24 09:21:15 CDT 2017 Al Viro <viro@zeniv.linux.org.uk> 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>
1cfd0ddd Sun Sep 24 09:21:15 CDT 2017 Al Viro <viro@zeniv.linux.org.uk> 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>