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

Tom Maher tardis@watson.org
11 Jul 2002 21:51:17 -0400


Chaskiel M Grundman <cg2v@andrew.cmu.edu> writes:

> 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 _______________________________________________

Oh my god.  Chaskiel, you are the wind beneath my wings.

-- 
Tom Maher