From 573cd80cd145ca2d6bbfcc48499599ec4a86c0b1 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 18 Nov 2009 14:33:09 -0600 Subject: [PATCH] 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 --- src/afs/afs_vcache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index 34afe69de5..c543ff367a 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;