iov_iter.c: handle ITER_KVEC directly
... without bothering with copy_..._user() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
3d4d3e4826
commit
a280455fa8
2 changed files with 70 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue