sparse: quota annotation
A message that is not in the archive (sent off-list or not yet received): [email protected]
On Tue, 22 Jun 2004 03:26:01 +0000 Linux Kernel Mailing List wrote:
| ChangeSet 1.1830, 2004/06/21 20:26:01-07:00, [email protected] | | [PATCH] sparse: quota annotation | | quota.c | 4 ++-- | 1 files changed, 2 insertions(+), 2 deletions(-) | | | diff -Nru a/fs/quota.c b/fs/quota.c | --- a/fs/quota.c 2004-06-21 21:09:59 -07:00 | +++ b/fs/quota.c 2004-06-21 21:09:59 -07:00 | @@ -150,7 +150,7 @@ | } | | /* Copy parameters and call proper function */ | -static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, caddr_t addr) | +static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr) | { | int ret; | | @@ -264,7 +264,7 @@ | * 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, caddr_t addr) | +asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr) | { | uint cmds, type; | struct super_block *sb = NULL; | -
and in syscalls.h ... ?
sys_quotactl() prototype to match function
Signed-off-by Randy Dunlap <[email protected]>
diffstat:=
include/linux/syscalls.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
include/linux/syscalls.h renamed from include/linux/syscalls.h~syscall_quotactl +1 -1
@@ -382,7 +382,7 @@ asmlinkage long sys_fchdir(unsigned intasmlinkage long sys_rmdir (const char __user *pathname);asmlinkage long sys_lookup_dcookie (u64 cookie64,char __user *buf,size_t len);asmlinkage long sys_quotactl (unsigned int cmd,const char __user *special, -qid_t id,caddr_t addr); +qid_t id,void __user *addr);asmlinkage long sys_getdents (unsigned int fd,struct linux_dirent __user *dirent,unsigned int count);