commit d9a154a8ec88cdb57678856ad7c95e6ea6ec1bc9
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