That's rather scary... Cause there are cases where PutVCache is called with a parameter of WRITE_LOCK.
No matter. It won't compile without the argument if prototyped. -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: [EMAIL PROTECTED] University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 > -----Original Message----- > From: Derrick J Brashear [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 14, 2002 2:41 PM > To: [EMAIL PROTECTED] > Subject: Re: [OpenAFS-devel] cool, already found something > from prototypework > > > 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 > > > _______________________________________________ > OpenAFS-devel mailing list > [EMAIL PROTECTED] > https://lists.openafs.org/mailman/listinfo/openafs-devel > _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
