OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_66-16-g21efa63
Gerrit Code Review
gerrit@openafs.org
Mon, 26 Oct 2009 16:37:27 -0700 (PDT)
The following commit has been merged in the master branch:
commit bea4c4ea5d563bebe9f9c6289a1f25fd016a01a4
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Mon Oct 26 19:52:48 2009 +0000
Use fewer #ifdefs for dynamic vcaches
When we're not in AFS_MAXVCOUNT_ENV, make afsd_dynamic_vcaches a
static 0, which allows the removal of a scattering of #ifdef's in
the middle of conditionals in afs_vcache.c, and generally improves
the code browsing experience.
Also, move the externs for this variable to afs.h, where they belong,
and fix related formatting.
Change-Id: I4d56ebae63fe1855ac80f8511b9fc76f7e5a326f
Reviewed-on: http://gerrit.openafs.org/741
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs.h | 7 +++++++
src/afs/afs_daemons.c | 28 +++++++++++++---------------
src/afs/afs_init.c | 9 +++++----
src/afs/afs_vcache.c | 28 +++++-----------------------
4 files changed, 30 insertions(+), 42 deletions(-)
--
OpenAFS Master Repository