From: Erez_Zadok Date: Wed, 11 Jul 2007 20:13:07 +0000 (-0400) Subject: Unionfs: use the splice_read file method instead of sendfile X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=cc64e287622294d4edf1484b6fcd84ef372aa852;p=unionfs-2.6.39.y.git 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 --- diff --git a/fs/unionfs/file.c b/fs/unionfs/file.c index e978766e715..ab243ccae3f 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, };