diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-03-04 21:54:05 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-04-02 20:15:47 +0200 |
commit | ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c (patch) | |
tree | 8603d1aab505a1c8c023576cb599e1b541ebc944 /kernel/sys_ni.c | |
parent | fs/quota: add kernel_quotactl() helper; remove in-kernel call to syscall (diff) | |
download | linux-ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c.tar.xz 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 '')
-rw-r--r-- | kernel/sys_ni.c | 2 |
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); |