commit 5e97301ae19eba807f0c8240643414e8864aa491
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Wed Jul 11 16:13:07 2007 -0400
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