mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: torvalds <torvalds@osdl.org>,
	viro <viro@parcelfarce.linux.theplanet.co.uk>
Subject: Re: [PATCH] sparse: quota annotation
Date: Mon, 21 Jun 2004 21:34:44 -0700	[thread overview]
Message-ID: <20040621213444.15007754.rddunlap@osdl.org> (raw)
In-Reply-To: <200406220409.i5M49pZC015043@hera.kernel.org>

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);

           reply	other threads:[~2004-06-22  4:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200406220409.i5M49pZC015043@hera.kernel.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040621213444.15007754.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=viro@parcelfarce.linux.theplanet.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®