afs: remove vestigial externs for afs_xvcache 06/14406/2
authorMark Vitale <mvitale@sinenomine.net>
Wed, 23 Sep 2020 21:32:40 +0000 (17:32 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 23 Oct 2020 15:46:19 +0000 (11:46 -0400)
These have not been needed since src/afs/afs_prototypes.h gained 'extern
afs_rwlock_t afs_xvcache' with commit
8f2df21ffe59e9aa66219bf24656775b584c122d
"pull-prototypes-to-head-20020821"

Remove the vestigial extern references.

Change-Id: Id6aceff0d5df1f1bed210a3fbf2951c62f35ddbb
Reviewed-on: https://gerrit.openafs.org/14406
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/afs/LINUX/osi_vfsops.c
src/afs/VNOPS/afs_vnop_dirops.c
src/afs/VNOPS/afs_vnop_remove.c
src/afs/VNOPS/afs_vnop_symlink.c

index b33db3a..5457fbe 100644 (file)
@@ -33,7 +33,6 @@ extern struct super_operations afs_sops;
 #if !defined(AFS_NONFSTRANS)
 extern struct export_operations afs_export_ops;
 #endif
-extern afs_rwlock_t afs_xvcache;
 extern struct afs_q VLRU;
 
 extern struct dentry_operations afs_dentry_operations;
index fd4782c..5a73506 100644 (file)
@@ -28,8 +28,6 @@
 #include "afs/nfsclient.h"
 #include "afs/afs_osidnlc.h"
 
-extern afs_rwlock_t afs_xvcache;
-
 /* don't set CDirty in here because RPC is called synchronously */
 
 int
index 78521ca..54ef539 100644 (file)
@@ -27,9 +27,6 @@
 #include "afs/afs_osidnlc.h"
 
 
-extern afs_rwlock_t afs_xvcache;
-
-
 static void
 FetchWholeEnchilada(struct vcache *avc, struct vrequest *areq)
 {
index c9be5f6..6c991fe 100644 (file)
@@ -29,8 +29,6 @@
 #include "afs/nfsclient.h"
 #include "afs/afs_osidnlc.h"
 
-extern afs_rwlock_t afs_xvcache;
-
 /* 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
  * is just a performance hit.