OSDN Git Service

ITER_PIPE: lose iter_head argument of __pipe_get_pages()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 16 Jun 2022 18:26:23 +0000 (14:26 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Aug 2022 02:37:17 +0000 (22:37 -0400)
commitca591967543ab1af7e6e68bd505ef7869d3f2175
tree73f793a4b63dc7fcfe4cfff79eb7a9deb1e12695
parente3b42964f84c028f352c11269661d47f6ca4ab2e
ITER_PIPE: lose iter_head argument of __pipe_get_pages()

it's only used to get to the partial buffer we can add to,
and that's always the last one, i.e. pipe->head - 1.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
lib/iov_iter.c