Skip to content
Commit 92acdc4f authored by Al Viro's avatar Al Viro
Browse files

ITER_PIPE: clean iov_iter_revert()



Fold pipe_truncate() into it, clean up.  We can release buffers
in the same loop where we walk backwards to the iterator beginning
looking for the place where the new position will be.

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