From: Christof Hanke Date: Fri, 17 Dec 2004 14:41:36 +0000 (+0000) Subject: linux26-generic-sendfile-20041217 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=937ba22002f3bb3dddf45c4906349a48c7601cb7;p=packages%2Fo%2Fopenafs.git linux26-generic-sendfile-20041217 FIXES 16842 enable loop mounting to work. --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index e88b53a81..46906da7e 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -756,6 +756,9 @@ struct file_operations afs_file_fops = { .mmap = afs_linux_mmap, .open = afs_linux_open, .flush = afs_linux_flush, +#ifdef AFS_LINUX26_ENV + .sendfile = generic_file_sendfile, +#endif .release = afs_linux_release, .fsync = afs_linux_fsync, .lock = afs_linux_lock,