diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index e88b53a818..46906da7e6 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,