diff options
| author | 2022-06-15 09:44:38 -0400 | |
|---|---|---|
| committer | 2022-08-08 22:37:19 -0400 | |
| commit | 12d426ab64a1c75f1b2ee5c33e933a4c16004049 (patch) | |
| tree | 371d5d2175c86933dd9d569028401ad200114210 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | ITER_PIPE: cache the type of last buffer (diff) | |
| download | linux-dev-12d426ab64a1c75f1b2ee5c33e933a4c16004049.tar.xz linux-dev-12d426ab64a1c75f1b2ee5c33e933a4c16004049.zip | |
ITER_PIPE: fold data_start() and pipe_space_for_user() together
All their callers are next to each other; all of them
want the total amount of pages and, possibly, the
offset in the partial final buffer.
Combine into a new helper (pipe_npages()), fix the
bogosity in pipe_space_for_user(), while we are at it.
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
