Skip to content
Commit 9221d2e3 authored by Al Viro's avatar Al Viro
Browse files

iov_iter_alignment(): don't bother with iterate_all_kinds()



It's easier to go over the array manually.  We need to watch out
for truncated iov_iter, though - iovec array might cover more
than i->count.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8409a0d2
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