X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fnfsctl.c;h=8f9a20556f798931ee906c4e3a08660e55778f60;hb=dd0910b3c71b253c08111110f0399b924a8d5853;hp=b27451909dff0d17b2f148adad84f964214bac83;hpb=167968199089435c63ad1140ccfb8c6179274a0a;p=linux-2.6-block.git 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;