Skip to content
Commit 3b3fc051 authored by Al Viro's avatar Al Viro
Browse files

iov_iter_advance(): use consistent semantics for move past the end



asking to advance by more than we have left in the iov_iter should
move to the very end; it should *not* leave negative i->count and
it should not spew into syslog, etc. - it's a legitimate operation.

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