[OpenAFS-port-freebsd] FreeBSD/OpenAFS working, mostly

Chaskiel M Grundman cg2v@andrew.cmu.edu
Thu, 11 Jul 2002 18:56:42 -0400


Um, you guys should try this patch. oops. (I did the same ^%&^% thing in 
darwin too)

cvs server: Diffing .
Index: afs_vnop_read.c
===================================================================
RCS file: /cvs/openafs/src/afs/VNOPS/afs_vnop_read.c,v
retrieving revision 1.13
diff -u -r1.13 afs_vnop_read.c
--- afs_vnop_read.c     2002/06/24 15:23:40     1.13
+++ afs_vnop_read.c     2002/07/11 22:46:02
@@ -937,7 +951,7 @@
 #if defined(AFS_FBSD_ENV)
             AFS_GUNLOCK();
             VOP_LOCK(tfile->vnode, LK_EXCLUSIVE, curproc);
-            code = VOP_READ(tfile->vnode, auio, 0, &afs_osi_cred);
+            code = VOP_READ(tfile->vnode, &tuio, 0, &afs_osi_cred);
             VOP_UNLOCK(tfile->vnode, 0, curproc);
             AFS_GLOCK();
 #else


This obviously won't fix the cache corruption, but it should deal with the 
chunk problems nicely