diff options
| author | 2022-06-15 16:03:25 -0400 | |
|---|---|---|
| committer | 2022-08-08 22:37:18 -0400 | |
| commit | 2c855de93314e9573f31044976ffd89cb70a2dbd (patch) | |
| tree | 1cec98a604162a4b3f752d0c15dc1f67d11dcd9c /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | ITER_PIPE: lose iter_head argument of __pipe_get_pages() (diff) | |
| download | linux-dev-2c855de93314e9573f31044976ffd89cb70a2dbd.tar.xz linux-dev-2c855de93314e9573f31044976ffd89cb70a2dbd.zip | |
ITER_PIPE: clean pipe_advance() up
instead of setting ->iov_offset for new position and calling
pipe_truncate() to adjust ->len of the last buffer and discard
everything after it, adjust ->len at the same time we set ->iov_offset
and use pipe_discard_from() to deal with buffers past that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
