aboutsummaryrefslogtreecommitdiff
path: root/system/cdfs/cdfs-splice_not_sendfile.patch
blob: f38cfb803aeef5a8ba71a5be9c1b991d1e1fed9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur a/cddata.c b/cddata.c
--- a/cddata.c	2008-12-08 07:21:37.000000000 -0600
+++ b/cddata.c	2009-02-18 17:34:17.679224488 -0600
@@ -82,7 +82,7 @@
   .mmap             = generic_file_mmap
 #else
   .mmap             = generic_file_readonly_mmap,
-  .sendfile         = generic_file_sendfile
+  .splice_read      = generic_file_splice_read
 #endif
 };