[OpenAFS-devel] cool, already found something from prototypework
Neulinger, Nathan
nneul@umr.edu
Thu, 14 Feb 2002 14:45:26 -0600
That's rather scary... Cause there are cases where PutVCache is called
with a parameter of WRITE_LOCK.=20
No matter. It won't compile without the argument if prototyped.=20
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@umr.edu
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
> -----Original Message-----
> From: Derrick J Brashear [mailto:shadow@dementia.org]=20
> Sent: Thursday, February 14, 2002 2:41 PM
> To: openafs-devel@openafs.org
> Subject: Re: [OpenAFS-devel] cool, already found something=20
> from prototypework
>=20
>=20
> On Thu, 14 Feb 2002, Neulinger, Nathan wrote:
>=20
> > 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.
>=20
> Yabut PutVCache is:
> ObtainReadLock(&afs_xvcache);
> AFS_FAST_RELE(avc);
> ReleaseReadLock(&afs_xvcache);
>=20
> Useful to fix, but not a real problem
> -D
>=20
>=20
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>=20