diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-10 17:44:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 18:37:20 -0400 |
commit | 90cbad65911b5952a03111423347a6ab38236e0b (patch) | |
tree | e4f554ef5370694ae0a1ae4d88327ad4df5d0e62 | |
parent | 1e0dbafd30b2e1cd17fd141f4cfd633078524e8c (diff) |
[PATCH] more fs/compat.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/compat.c b/fs/compat.c index 4d3fbcb2ddb1..50624d4a70c6 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -1316,7 +1316,7 @@ compat_sys_vmsplice(int fd, const struct compat_iovec __user *iov32, | |||
1316 | unsigned int nr_segs, unsigned int flags) | 1316 | unsigned int nr_segs, unsigned int flags) |
1317 | { | 1317 | { |
1318 | unsigned i; | 1318 | unsigned i; |
1319 | struct iovec *iov; | 1319 | struct iovec __user *iov; |
1320 | if (nr_segs > UIO_MAXIOV) | 1320 | if (nr_segs > UIO_MAXIOV) |
1321 | return -EINVAL; | 1321 | return -EINVAL; |
1322 | iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec)); | 1322 | iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec)); |