]> git.ipfire.org Git - people/arne_f/kernel.git/commit
new privimitive: iov_iter_revert()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 17 Feb 2017 23:42:24 +0000 (18:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Apr 2017 07:31:21 +0000 (09:31 +0200)
commitff76ab9e03a50a4df26329e547e75f865a2bfa9f
tree6111fb43d038f57b12e2ebf02aa237cf18fcfed2
parente485875dff38c79479ba42f80f0230d181a77a56
new privimitive: iov_iter_revert()

commit 27c0e3748e41ca79171ffa3e97415a20af6facd0 upstream.

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/uio.h
lib/iov_iter.c