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 <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2009-11-18 14:33:09 -06:00 committed by Derrick Brashear
parent dce56fb8ce
commit 573cd80cd1

View File

@ -47,10 +47,8 @@
#include "afs/afs_cbqueue.h" #include "afs/afs_cbqueue.h"
#include "afs/afs_osidnlc.h" #include "afs/afs_osidnlc.h"
#if defined(AFS_LINUX22_ENV)
afs_int32 afs_maxvcount = 0; /* max number of vcache entries */ afs_int32 afs_maxvcount = 0; /* max number of vcache entries */
afs_int32 afs_vcount = 0; /* number of vcache in use now */ afs_int32 afs_vcount = 0; /* number of vcache in use now */
#endif /* AFS_LINUX22_ENV */
#ifdef AFS_SGI_ENV #ifdef AFS_SGI_ENV
int afsvnumbers = 0; int afsvnumbers = 0;