summaryrefslogtreecommitdiff
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
parent003d7ab479168132a2b2c6700fe682b08f08ab0c (diff)
[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;