summaryrefslogtreecommitdiffstats
path: root/fs/nfsctl.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:29 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:29 +0100
commit1e7bfb2134dfec37ce04fb3a4ca89299e892d10c (patch)
tree99c676262e696754dcbfb2d6f59499972cd0c38c /fs/nfsctl.c
parentc4ea37c26a691ad0b7e86aa5884aab27830e95c9 (diff)
downloadlinux-1e7bfb2134dfec37ce04fb3a4ca89299e892d10c.tar.bz2
[CVE-2009-0029] System call wrappers part 27
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/nfsctl.c')
-rw-r--r--fs/nfsctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsctl.c b/fs/nfsctl.c
index b27451909dff..8f9a20556f79 100644
--- a/fs/nfsctl.c
+++ b/fs/nfsctl.c
@@ -86,8 +86,8 @@ static struct {
},
};
-long
-asmlinkage sys_nfsservctl(int cmd, struct nfsctl_arg __user *arg, void __user *res)
+SYSCALL_DEFINE3(nfsservctl, int, cmd, struct nfsctl_arg __user *, arg,
+ void __user *, res)
{
struct file *file;
void __user *p = &arg->u;