X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=fs%2Fquota.c;h=d76ada914f9898f7b8c4c1435469110a35449561;hb=3cdad42884bbd95d5aa01297e8236ea1bad70053;hp=4a8c94f05f76b29cce8c0b811e09a33a6ea3a2da;hpb=003d7ab479168132a2b2c6700fe682b08f08ab0c;p=net-next-2.6.git diff --git a/fs/quota.c b/fs/quota.c index 4a8c94f05f7..d76ada914f9 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;