From: Andrew Deason Date: Wed, 18 Nov 2009 20:33:09 +0000 (-0600) Subject: Define afs_maxvcount everywhere X-Git-Tag: openafs-devel-1_5_67~28 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=573cd80cd145ca2d6bbfcc48499599ec4a86c0b1;p=packages%2Fo%2Fopenafs.git Define afs_maxvcount everywhere afs_maxvcount can be referenced by non-Linux code, so define it everywhere, not just on Linux. Change-Id: I6e99b6735d58823d0809a00be42a447deb3ced89 Reviewed-on: http://gerrit.openafs.org/845 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 34afe69de..c543ff367 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -47,10 +47,8 @@ #include "afs/afs_cbqueue.h" #include "afs/afs_osidnlc.h" -#if defined(AFS_LINUX22_ENV) afs_int32 afs_maxvcount = 0; /* max number of vcache entries */ afs_int32 afs_vcount = 0; /* number of vcache in use now */ -#endif /* AFS_LINUX22_ENV */ #ifdef AFS_SGI_ENV int afsvnumbers = 0;