diff --git a/sys/fs/coda/cnode.h b/sys/fs/coda/cnode.h index c747170ced95..297d53895308 100644 --- a/sys/fs/coda/cnode.h +++ b/sys/fs/coda/cnode.h @@ -73,16 +73,10 @@ do { \ #define CODA_FREE(ptr, size) free((ptr), M_CODA) -/* - * global cache state control - */ -extern int coda_nc_use; - /* * Used to select debugging statements throughout the cfs code. */ extern int codadebug; -extern int coda_nc_debug; extern int coda_printf_delay; extern int coda_vnop_print_entry; extern int coda_psdev_print_entry; diff --git a/sys/fs/coda/coda_namecache.h b/sys/fs/coda/coda_namecache.h index 77f2cb168255..41442f425110 100644 --- a/sys/fs/coda/coda_namecache.h +++ b/sys/fs/coda/coda_namecache.h @@ -136,21 +136,28 @@ struct coda_hash { /* Start of Hash chain */ #define CODA_NC_DEBUG(N, STMT) { if (coda_nc_debug & (1 < __FBSDID("$FreeBSD$"); - -extern int coda_nc_initialized; /* Set if cache has been initialized */ - #include #include #include diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c index c0a786884333..7e827ab95ee9 100644 --- a/sys/fs/coda/coda_vfsops.c +++ b/sys/fs/coda/coda_vfsops.c @@ -77,9 +77,6 @@ struct coda_op_stats coda_vfsopstats[CODA_VFSOPS_SIZE]; #define MARK_INT_FAIL(op) (coda_vfsopstats[op].unsat_intrn++) #define MARK_INT_GEN(op) (coda_vfsopstats[op].gen_intrn++) -extern int coda_nc_initialized; /* Set if cache has been initialized */ -extern int vc_nb_open(struct cdev *, int, int, struct thread *); - int coda_vfsopstats_init(void) {