summaryrefslogtreecommitdiff
path: root/include/linux/uio.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-27 14:48:42 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-08 19:52:00 -0500
commita280455fa87053eed59de8464200d03ae4caa8c3 (patch)
tree59fce3ebd7c64786678f8a31ea996ed02dec8592 /include/linux/uio.h
parent3d4d3e48264e24d9beb373bd0428b69889ac11ea (diff)
downloadlinux-rpi-a280455fa87053eed59de8464200d03ae4caa8c3.tar.gz
linux-rpi-a280455fa87053eed59de8464200d03ae4caa8c3.tar.bz2
linux-rpi-a280455fa87053eed59de8464200d03ae4caa8c3.zip
iov_iter.c: handle ITER_KVEC directly
... without bothering with copy_..._user() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/uio.h')
-rw-r--r--include/linux/uio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/uio.h b/include/linux/uio.h
index 9b1581414cd4..6e16945ec832 100644
--- a/include/linux/uio.h
+++ b/include/linux/uio.h
@@ -31,6 +31,7 @@ struct iov_iter {
size_t count;
union {
const struct iovec *iov;
+ const struct kvec *kvec;
const struct bio_vec *bvec;
};
unsigned long nr_segs;