* Re: [PATCH] sparse: quota annotation
[not found] <200406220409.i5M49pZC015043@hera.kernel.org>
@ 2004-06-22 4:34 ` Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-06-22 4:34 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: torvalds, viro
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, viro@www.linux.org.uk
|
| [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 <rddunlap@osdl.org>
diffstat:=
include/linux/syscalls.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./include/linux/syscalls.h~syscall_quotactl ./include/linux/syscalls.h
--- ./include/linux/syscalls.h~syscall_quotactl 2004-06-15 22:20:26.000000000 -0700
+++ ./include/linux/syscalls.h 2004-06-21 21:31:11.000000000 -0700
@@ -382,7 +382,7 @@ asmlinkage long sys_fchdir(unsigned int
asmlinkage 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-22 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200406220409.i5M49pZC015043@hera.kernel.org>
2004-06-22 4:34 ` [PATCH] sparse: quota annotation Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®