]> 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)
commitaa2ccfb9772324b9f9baba373dff3355d0a92b44
tree7c99c0c72c719a411920743f6663193594659241
parent01da9c8979f3d24bb75ef7080a8d9915e88dff94
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