From e17bc8ce865f630d268c2a5e8cafb79ad8855f12 Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Wed, 23 Sep 2020 17:32:40 -0400 Subject: [PATCH] afs: remove vestigial externs for afs_xvcache 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 Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk --- src/afs/LINUX/osi_vfsops.c | 1 - src/afs/VNOPS/afs_vnop_dirops.c | 2 -- src/afs/VNOPS/afs_vnop_remove.c | 3 --- src/afs/VNOPS/afs_vnop_symlink.c | 2 -- 4 files changed, 8 deletions(-) diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index b33db3a..5457fbe 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -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; diff --git a/src/afs/VNOPS/afs_vnop_dirops.c b/src/afs/VNOPS/afs_vnop_dirops.c index fd4782c..5a73506 100644 --- a/src/afs/VNOPS/afs_vnop_dirops.c +++ b/src/afs/VNOPS/afs_vnop_dirops.c @@ -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 diff --git a/src/afs/VNOPS/afs_vnop_remove.c b/src/afs/VNOPS/afs_vnop_remove.c index 78521ca..54ef539 100644 --- a/src/afs/VNOPS/afs_vnop_remove.c +++ b/src/afs/VNOPS/afs_vnop_remove.c @@ -27,9 +27,6 @@ #include "afs/afs_osidnlc.h" -extern afs_rwlock_t afs_xvcache; - - static void FetchWholeEnchilada(struct vcache *avc, struct vrequest *areq) { diff --git a/src/afs/VNOPS/afs_vnop_symlink.c b/src/afs/VNOPS/afs_vnop_symlink.c index c9be5f6..6c991fe 100644 --- a/src/afs/VNOPS/afs_vnop_symlink.c +++ b/src/afs/VNOPS/afs_vnop_symlink.c @@ -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. -- 1.9.4