[OpenAFS-devel] cool, already found something from prototype
work
Derrick J Brashear
shadow@dementia.org
Thu, 14 Feb 2002 15:40:49 -0500 (EST)
On Thu, 14 Feb 2002, Neulinger, Nathan wrote:
> in VNOPS/afs_vnop_lookup.c:
>
> if (tvcp && retry) {
> ReleaseWriteLock(&afs_xvcache);
> afs_PutVCache(tvcp);
> }
> } while (tvcp && retry);
>
> everywere else, afs_PutVCache() takes two arguments, the second is a
> lock type.
Yabut PutVCache is:
ObtainReadLock(&afs_xvcache);
AFS_FAST_RELE(avc);
ReleaseReadLock(&afs_xvcache);
Useful to fix, but not a real problem
-D