Skip to content
Commit 185ac4d4 authored by Al Viro's avatar Al Viro
Browse files

iov_iter: optimize iov_iter_advance() for iovec and kvec



We can do better than generic iterate_and_advance() for this one;
inspired by bvec_iter_advance() (and massaged into that form by
equivalent transformations).

[fixed a braino caught by kernel test robot <oliver.sang@intel.com>]

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8cd54c1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment