Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iov_iter_advance(): use consistent semantics for move past the end
[ Upstream commit 3b3fc05 ] 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: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information