From 839ea46465d9bf63fb69b561b1ffff940fd1044f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 9 Jul 2010 18:09:32 -0700 Subject: [PATCH] Terminate the DARWIN80 #if in afs_osidnlc.c The #if defined(AFS_DARWIN80_ENV) in src/afs/afs_osidnlc.c was never terminated, leading to build failures. Add an #endif. Change-Id: Ie2f324668becef8294b86cadec5cf5547731d2ad Reviewed-on: http://gerrit.openafs.org/2381 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- src/afs/afs_osidnlc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/afs/afs_osidnlc.c b/src/afs/afs_osidnlc.c index d8fea44313..d93684284b 100644 --- a/src/afs/afs_osidnlc.c +++ b/src/afs/afs_osidnlc.c @@ -267,7 +267,9 @@ osi_dnlc_lookup(struct vcache *adp, char *aname, int locktype) osi_dnlc_remove(adp, aname, tvc); return 0; } +#else osi_vnhold(tvc, 0); +#endif ReleaseReadLock(&afs_xvcache); #ifdef notdef