new helper: dup_iter()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 1 Feb 2015 01:08:47 +0000 (20:08 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 18 Feb 2015 03:21:11 +0000 (22:21 -0500)
commit4b8164b91d9fdff4dbac0a742d076bdff7fda21b
tree694a818c62c0716194e63179670af3035413ef74
parentf5af19d10d151c5a2afae3306578f485c244db25
new helper: dup_iter()

Copy iter and kmemdup the underlying array for the copy.  Returns
a pointer to result of kmemdup() to be kfree()'d later.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/uio.h
mm/iov_iter.c