aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:22 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:26 +0100
commit3cdad42884bbd95d5aa01297e8236ea1bad70053 (patch)
tree169b8958b56d5c39a4f437d041baf0412bb53b96 /fs/quota.c
parent[CVE-2009-0029] System call wrappers part 19 (diff)
downloadlinux-dev-3cdad42884bbd95d5aa01297e8236ea1bad70053.tar.xz
linux-dev-3cdad42884bbd95d5aa01297e8236ea1bad70053.zip
[CVE-2009-0029] System call wrappers part 20
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'fs/quota.c')
-rw-r--r--fs/quota.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/quota.c b/fs/quota.c
index 4a8c94f05f76..d76ada914f98 100644
--- a/fs/quota.c
+++ b/fs/quota.c
@@ -371,7 +371,8 @@ static inline struct super_block *quotactl_block(const char __user *special)
* calls. Maybe we need to add the process quotas etc. in the future,
* but we probably should use rlimits for that.
*/
-asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr)
+SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special,
+ qid_t, id, void __user *, addr)
{
uint cmds, type;
struct super_block *sb = NULL;