GIT: unionfs2-2.6.27.y: Unionfs: use the splice_read file method instead of sendfile
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:44 EDT 2010
commit 0658cba93c45a25b635c77548a21318f25cffd15
Author: Erez_Zadok <ezk at cs.sunysb.edu>
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 <ezk at cs.sunysb.edu>
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,
};
More information about the unionfs-cvs
mailing list