summaryrefslogtreecommitdiffstats
path: root/system/cdfs/cdfs-splice_not_sendfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/cdfs/cdfs-splice_not_sendfile.patch')
-rw-r--r--system/cdfs/cdfs-splice_not_sendfile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/cdfs/cdfs-splice_not_sendfile.patch b/system/cdfs/cdfs-splice_not_sendfile.patch
new file mode 100644
index 0000000000..f38cfb803a
--- /dev/null
+++ b/system/cdfs/cdfs-splice_not_sendfile.patch
@@ -0,0 +1,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
+ };
+