From 937ba22002f3bb3dddf45c4906349a48c7601cb7 Mon Sep 17 00:00:00 2001 From: Christof Hanke Date: Fri, 17 Dec 2004 14:41:36 +0000 Subject: [PATCH] linux26-generic-sendfile-20041217 FIXES 16842 enable loop mounting to work. --- src/afs/LINUX/osi_vnodeops.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index e88b53a..46906da 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, -- 1.9.4