From affdbe8db375bf2b9defe05ca4431f5b4e14221e Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Sat, 13 Jul 2002 04:28:28 +0000 Subject: [PATCH] freebsd-chunk-corruption-fix-20020713 This patch will fix the "freebsd can't read files > 1 chunk" problem. It will almost certainly not fix the "cache files get the bootloader written into them" problem, but there is a miniscule chance: --- src/afs/VNOPS/afs_vnop_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/VNOPS/afs_vnop_read.c b/src/afs/VNOPS/afs_vnop_read.c index 886d081..bbbe2f3 100644 --- a/src/afs/VNOPS/afs_vnop_read.c +++ b/src/afs/VNOPS/afs_vnop_read.c @@ -937,7 +937,7 @@ tagain: #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 -- 1.9.4