[PATCH 1/1] jfs: Add splice support

[email protected] (Dave Kleikamp) Wed, 1 Nov 2006 14:34:07 -0600 (CST)
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
jfs: Add splice support

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

Signed-off-by: Daniel Drake <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>

---
commit 89f68225876db7df638de2884b561facb1870239
tree 60bc1dc522a91c70c167a573595d60c5febc2bde
parent 209ad53bc19667a128d9c51beba873a5c62bff6e
author Daniel Drake <[email protected]> Mon, 30 Oct 2006 11:47:02 -0600
committer Dave Kleikamp <[email protected]> Mon, 30 Oct 2006 11:47:02 -0600

 fs/jfs/file.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 34181b8..aa9132d 100644
--- a/fs/jfs/file.c
+++ b/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,

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642