[iov_iter] new privimitive: iov_iter_revert()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 17 Feb 2017 23:42:24 +0000 (18:42 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 2 Apr 2017 16:10:47 +0000 (12:10 -0400)
commit27c0e3748e41ca79171ffa3e97415a20af6facd0
tree9a9486ef6d962e7a5d7b97d5e60cd490554d1980
parentc02ed2e75ef4c74e41e421acb4ef1494671585e8
[iov_iter] new privimitive: iov_iter_revert()

opposite to iov_iter_advance(); the caller is responsible for never
using it to move back past the initial position.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/uio.h
lib/iov_iter.c