linux26-generic-sendfile-20041217
authorChristof Hanke <hanke@rzg.mpg.de>
Fri, 17 Dec 2004 14:41:36 +0000 (14:41 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 17 Dec 2004 14:41:36 +0000 (14:41 +0000)
FIXES 16842

enable loop mounting to work.

src/afs/LINUX/osi_vnodeops.c

index e88b53a..46906da 100644 (file)
@@ -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,