The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] copyfile: sendfile
Date: Sat, 4 Sep 2004 18:11:43 +0100	[thread overview]
Message-ID: <20040904181143.A16644@infradead.org> (raw)
In-Reply-To: <20040904165938.GD8579@wohnheim.fh-wedel.de>; from joern@wohnheim.fh-wedel.de on Sat, Sep 04, 2004 at 06:59:38PM +0200

On Sat, Sep 04, 2004 at 06:59:38PM +0200, Jörn Engel wrote:
> Creates vfs_sendfile(), which can be called from other places within
> the kernel.  Such other places include copyfile() and cowlinks.
> 
> In principle, this just removes code from do_sendfile() to
> vfs_sendfile().  On top of that, it adds a check to out_inode,
> identical to the one on in_inode.  True, the check for out_inode was
> never needed, maybe that tells you something about the check to
> in_inode as well. ;)

Both checks aren't nessecary. 

> +++ linux-2.6.9-rc1-mm3/include/linux/syscalls.h	2004-09-04 18:17:15.000000000 +0200
> @@ -285,6 +285,8 @@
>  asmlinkage long sys_unlink(const char __user *pathname);
>  asmlinkage long sys_rename(const char __user *oldname,
>  				const char __user *newname);
> +asmlinkage long sys_copyfile(const char __user *from, const char __user *to,
> +				umode_t mode);

oesn't seem to belong into this patch.


  parent reply	other threads:[~2004-09-04 17:11 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04 16:57 [PATCH 1/3] copyfile: generic_sendpage Jörn Engel
2004-09-04 16:59 ` [PATCH 2/3] copyfile: sendfile Jörn Engel
2004-09-04 17:04   ` [PATCH 3/3] copyfile: copyfile Jörn Engel
2004-09-04 17:08     ` Jörn Engel
2004-09-04 17:11   ` Christoph Hellwig [this message]
2004-09-04 17:16     ` [PATCH 2/3] copyfile: sendfile Jörn Engel
2004-09-04 17:12 ` [PATCH 1/3] copyfile: generic_sendpage Christoph Hellwig
2004-09-04 17:22   ` Jörn Engel
2004-09-04 17:25     ` Christoph Hellwig
2004-09-07  8:32       ` Jan Blunck
2004-09-04 22:39 ` Andrew Morton
2004-09-05  0:16   ` William Lee Irwin III
2004-09-05  0:23     ` Andrew Morton
2004-09-06 11:54   ` Jörn Engel
2004-09-06 12:45   ` Gunnar Ritter
2004-09-06 13:35     ` Jörn Engel
2004-09-06 14:32       ` Gunnar Ritter
2004-09-06 14:46         ` Oliver Neukum
2004-09-06 15:51           ` Gunnar Ritter
2004-09-07 11:09         ` Jörn Engel
2004-09-07 11:45           ` Jörn Engel
2004-09-07 12:03             ` Gunnar Ritter
2004-09-07 12:08               ` Jörn Engel
2004-09-07 12:32                 ` Gunnar Ritter
2004-09-07 11:48           ` Gunnar Ritter
2004-09-07 12:04             ` Jörn Engel

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=20040904181143.A16644@infradead.org \
    --to=hch@infradead.org \
    --cc=akpm@osdl.org \
    --cc=joern@wohnheim.fh-wedel.de \
    --cc=linux-kernel@vger.kernel.org \
    /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