mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
8409a0d261
commit
9221d2e37b
1 changed files with 53 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue