]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/quota.c
[CVE-2009-0029] System call wrappers part 20
[net-next-2.6.git] / fs / quota.c
index 4a8c94f05f76b29cce8c0b811e09a33a6ea3a2da..d76ada914f9898f7b8c4c1435469110a35449561 100644 (file)
@@ -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;