From: Russ Allbery Date: Sat, 10 Jul 2010 01:09:32 +0000 (-0700) Subject: Terminate the DARWIN80 #if in afs_osidnlc.c X-Git-Tag: openafs-devel-1_5_76~155 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=839ea46465d9bf63fb69b561b1ffff940fd1044f;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/afs_osidnlc.c b/src/afs/afs_osidnlc.c index d8fea4431..d93684284 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