Commit
64cc7f0ca7a44bb214396c829268a541ab286c69 "afs: Create
afs_StaleVCache" consolidated many references to afs_xcbhash into a new
function afs_StaleVCache. However, this left many references to 'extern
afs_wrlock_t afs_xcbhash' that are no longer needed.
But actually, many of these have not been needed since
src/afs/afs_prototypes.h gained 'extern afs_rwlock_t afs_xcbhash' with
commit
8f2df21ffe59e9aa66219bf24656775b584c122d
"pull-prototypes-to-head-
20020821"
Remove the vestigial extern references.
No functional change is incurred by this commit.
Change-Id: Ie6cfb6d90c52951795378d3b42e041567d207305
Reviewed-on: https://gerrit.openafs.org/14405
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
#include "afs/nfsclient.h"
#include "afs/afs_osidnlc.h"
-extern afs_rwlock_t afs_xcbhash;
struct afs_exporter *afs_nfsexporter;
extern struct vcache *afs_globalVp;
#if defined(AFS_HPUX110_ENV)
#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xvcache;
-extern afs_rwlock_t afs_xcbhash;
/* don't set CDirty in here because RPC is called synchronously */
#include "afs/nfsclient.h"
#include "afs/afs_osidnlc.h"
-extern afs_rwlock_t afs_xcbhash;
-
/* Note that we don't set CDirty here, this is OK because the link
* RPC is called synchronously. */
extern afs_rwlock_t afs_xvcache;
-extern afs_rwlock_t afs_xcbhash;
static void
#include "afs/nfsclient.h"
#include "afs/afs_osidnlc.h"
-extern afs_rwlock_t afs_xcbhash;
-
/* Note that we don't set CDirty here, this is OK because the rename
* RPC is called synchronously. */
#include "afs/afs_osidnlc.h"
extern afs_rwlock_t afs_xvcache;
-extern afs_rwlock_t afs_xcbhash;
/* Note: There is the bare bones beginning of symlink hints in the now
* defunct afs/afs_lookup.c file. Since they are not in use, making the call
afs_size_t cache_bypass_threshold = AFS_CACHE_BYPASS_DISABLED; /* file size > threshold triggers bypass */
int cache_bypass_prefetch = 1; /* Should we do prefetching ? */
-extern afs_rwlock_t afs_xcbhash;
-
/*
* This is almost exactly like the PFlush() routine in afs_pioctl.c,
* but that routine is static. We are about to change a file from