From b696aa703d930b6cc029fe339f1aaafdba82bc90 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Wed, 11 Jul 2007 16:13:07 -0400 Subject: [PATCH] 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 --- fs/unionfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/unionfs/file.c b/fs/unionfs/file.c index e978766e715d..ab243ccae3f1 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, }; -- 2.43.0