]> git.baikalelectronics.ru Git - kernel.git/commit
iov_iter: track truncated size
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 23 Aug 2021 10:18:44 +0000 (11:18 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Sep 2021 23:31:33 +0000 (19:31 -0400)
commit6773c44b25b000b428636d911650b1d65e47fd82
tree7c99c0c72c719a411920743f6663193594659241
parentb1b49cbcf8bd66059ed6f80c573a7ff83991d8ef
iov_iter: track truncated size

Remember how many bytes were truncated and reverted back. Because
not reexpanded iterators don't always work well with reverting, we may
need to know that to reexpand ourselves when needed.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/uio.h