]> git.itanic.dy.fi Git - linux-stable/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:32:40 +0000 (09:32 +0200)
commita99a9ff2374ac30fe87c820fca3401d3275f2b79
tree167e23419c4279047c0df152794648fd8727323c
parent939707c50352950243e7fd6e7e088af0db6d51e2
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