diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-03-04 23:54:05 +0300 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-04-02 21:15:47 +0300 |
commit | ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c (patch) | |
tree | 8603d1aab505a1c8c023576cb599e1b541ebc944 /kernel/sys_ni.c | |
parent | cb0b476ab12ca3bd9dd9122047660f3a73e8d647 (diff) | |
download | linux-ab0d1e85bfd0c25260f02cd3708d5abdfb5b5a9c.tar.xz |
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.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); |