[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1162227415.24229.2.camel@kleikamp.austin.ibm.com>
Date: Mon, 30 Oct 2006 10:56:55 -0600
From: Dave Kleikamp <shaggy@...tin.ibm.com>
To: Daniel Drake <ddrake@...ntes3d.com>
Cc: axboe@...e.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] jfs: Add splice support
On Mon, 2006-10-30 at 16:31 +0000, Daniel Drake wrote:
> This allows the splice() and tee() syscalls to be used with JFS.
Gosh, that was easy. Why couldn't I do that? :-)
Answer: I would have had to test it.
I'm assuming you did?
Thanks,
Shaggy
> Signed-off-by: Daniel Drake <ddrake@...ntes3d.com>
>
> Index: linux-2.6.19-rc3/fs/jfs/file.c
> ===================================================================
> --- linux-2.6.19-rc3.orig/fs/jfs/file.c
> +++ linux-2.6.19-rc3/fs/jfs/file.c
> @@ -109,6 +109,8 @@ const struct file_operations jfs_file_op
> .aio_write = generic_file_aio_write,
> .mmap = generic_file_mmap,
> .sendfile = generic_file_sendfile,
> + .splice_read = generic_file_splice_read,
> + .splice_write = generic_file_splice_write,
> .fsync = jfs_fsync,
> .release = jfs_release,
> .ioctl = jfs_ioctl,
--
David Kleikamp
IBM Linux Technology Center
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists