summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorDaniel Drake <ddrake@brontes3d.com>2006-10-30 11:47:02 -0600
committerDave Kleikamp <shaggy@austin.ibm.com>2006-10-30 11:47:02 -0600
commit89f68225876db7df638de2884b561facb1870239 (patch)
tree60bc1dc522a91c70c167a573595d60c5febc2bde /fs/jfs
parent209ad53bc19667a128d9c51beba873a5c62bff6e (diff)
downloadlinux-89f68225876db7df638de2884b561facb1870239.tar.gz
linux-89f68225876db7df638de2884b561facb1870239.tar.bz2
linux-89f68225876db7df638de2884b561facb1870239.zip
jfs: Add splice support
This allows the splice() and tee() syscalls to be used with JFS. Signed-off-by: Daniel Drake <ddrake@brontes3d.com> Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/jfs/file.c b/fs/jfs/file.c
index 34181b8f5a0a..aa9132d04920 100644
--- a/fs/jfs/file.c
+++ b/fs/jfs/file.c
@@ -109,6 +109,8 @@ const struct file_operations jfs_file_operations = {
.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,