projects
/
unionfs-2.6.36.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e7298
)
Unionfs: use the splice_read file method instead of sendfile
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Wed, 11 Jul 2007 20:13:07 +0000
(16:13 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 6 Mar 2011 08:42:33 +0000
(
03:42
-0500)
In 2.6.23 (prior to rc1), sendfile was obsoleted in favor of splice_read.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/file.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/file.c
b/fs/unionfs/file.c
index e978766e715dc6cbc041e1f56cfeecf1d71a8d1a..ab243ccae3f1d7a5abb1c73174d9693ad258a5fa 100644
(file)
--- 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,
- .s
endfile = generic_file_sendfile
,
+ .s
plice_read = generic_file_splice_read
,
};