Define afs_maxvcount everywhere
authorAndrew Deason <adeason@sinenomine.net>
Wed, 18 Nov 2009 20:33:09 +0000 (14:33 -0600)
committerDerrick Brashear <shadow|account-1000005@unknown>
Fri, 20 Nov 2009 12:40:24 +0000 (04:40 -0800)
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>

src/afs/afs_vcache.c

index 34afe69..c543ff3 100644 (file)
 #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;