commit 3373c93c095437f40025d56eeffee47b2bc7302c
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Fri Nov 16 13:47:12 2007 -0500

    Unionfs: use the splice_read file method instead of sendfile
    
    In 2.6.23 (prior to rc1), sendfile was obsoleted in favor of splice_read.
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/file.c b/fs/unionfs/file.c
index e978766..ab243cc 100644
--- a/fs/unionfs/file.c
+++ b/fs/unionfs/file.c
@@ -153,5 +153,5 @@ struct file_operations unionfs_main_fops = {
        .flush          = unionfs_flush,
        .release        = unionfs_file_release,
        .fsync          = file_fsync,
-       .sendfile       = generic_file_sendfile,
+       .splice_read    = generic_file_splice_read,
 };
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to