summaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2018-03-04 21:54:05 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2018-04-02 20:15:47 +0200
commitab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c (patch)
tree8603d1aab505a1c8c023576cb599e1b541ebc944 /kernel/sys_ni.c
parentcb0b476ab12ca3bd9dd9122047660f3a73e8d647 (diff)
downloadlinux-ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c.tar.gz
linux-ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c.tar.bz2
linux-ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c.zip
fs/quota: use COMPAT_SYSCALL_DEFINE for sys32_quotactl()
While sys32_quotactl() is only needed on x86, it can use the recommended COMPAT_SYSCALL_DEFINEx() machinery for its setup. Acked-by: Jan Kara <jack@suse.cz> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'kernel/sys_ni.c')
-rw-r--r--kernel/sys_ni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
index b5189762d275..951dbda5c2b4 100644
--- a/kernel/sys_ni.c
+++ b/kernel/sys_ni.c
@@ -18,7 +18,7 @@ asmlinkage long sys_ni_syscall(void)
}
cond_syscall(sys_quotactl);
-cond_syscall(sys32_quotactl);
+cond_syscall(compat_sys_quotactl32);
cond_syscall(sys_acct);
cond_syscall(sys_lookup_dcookie);
cond_syscall(compat_sys_lookup_dcookie);