]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8d2f11c2c475366a632850e5affdd3473a3d097
tree73f793a4b63dc7fcfe4cfff79eb7a9deb1e12695
parentfaf3f53e450be928a358ad9b3ee9b33bc4f34070
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