]> err.no Git - linux-2.6/commitdiff
jfs: Add splice support
authorDaniel Drake <ddrake@brontes3d.com>
Mon, 30 Oct 2006 17:47:02 +0000 (11:47 -0600)
committerDave Kleikamp <shaggy@austin.ibm.com>
Mon, 30 Oct 2006 17:47:02 +0000 (11:47 -0600)
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>
fs/jfs/file.c

index 34181b8f5a0ac6cbbbea4cee5fee75d5ab9e3175..aa9132d04920f679c47b2c1d0e1eed56851ded77 100644 (file)
@@ -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,