]> err.no Git - linux-2.6/commitdiff
[PATCH] more fs/compat.c __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:44:17 +0000 (22:44 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:20 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/compat.c

index 4d3fbcb2ddb1a32353dcf6001c9a4f53e42e94d4..50624d4a70c6c771b14c6ff12de3fbde65175aa7 100644 (file)
@@ -1316,7 +1316,7 @@ compat_sys_vmsplice(int fd, const struct compat_iovec __user *iov32,
                    unsigned int nr_segs, unsigned int flags)
 {
        unsigned i;
-       struct iovec *iov;
+       struct iovec __user *iov;
        if (nr_segs > UIO_MAXIOV)
                return -EINVAL;
        iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec));