public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] jfs: Add splice support
@ 2006-10-30 16:31 Daniel Drake
  2006-10-30 16:56 ` Dave Kleikamp
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Drake @ 2006-10-30 16:31 UTC (permalink / raw)
  To: shaggy; +Cc: axboe, linux-kernel

This allows the splice() and tee() syscalls to be used with JFS.

Signed-off-by: Daniel Drake <ddrake@brontes3d.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,

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-31  8:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 16:31 [PATCH] jfs: Add splice support Daniel Drake
2006-10-30 16:56 ` Dave Kleikamp
2006-10-30 17:29   ` Daniel Drake
2006-10-30 17:49     ` Dave Kleikamp
2006-10-31  8:32   ` Jan Engelhardt
2006-10-31  8:46     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox