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:
This commit is contained in:
Chaskiel M Grundman 2002-07-13 04:28:28 +00:00 committed by Derrick Brashear
parent bfaa3bac05
commit affdbe8db3

View File

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