summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-29 11:44:31 +0000
committerbde <bde@FreeBSD.org>1995-07-29 11:44:31 +0000
commit38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc (patch)
treeb89d1e0366b685acdcb1eb8c959a65e2e330cb0c /sys/kern/vfs_cache.c
parent795b455aacbca36da42882b1290f5d37f1618bfe (diff)
downloadFreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.zip
FreeBSD-src-38a74a7bc23af4d5ed5deeff2f4ab6329b0a26cc.tar.gz
Eliminate sloppy common-style declarations. There should be none left for
the LINT configuation.
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r--sys/kern/vfs_cache.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index a05b4a0..7b0fc56 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_cache.c 8.3 (Berkeley) 8/22/94
- * $Id: vfs_cache.c,v 1.14 1995/04/15 00:49:35 davidg Exp $
+ * $Id: vfs_cache.c,v 1.15 1995/05/30 08:06:28 rgrimes Exp $
*/
#include <sys/param.h>
@@ -73,9 +73,12 @@
LIST_HEAD(nchashhead, namecache) *nchashtbl; /* Hash Table */
TAILQ_HEAD(, namecache) nclruhead; /* LRU chain */
u_long nchash; /* size of hash table */
-struct nchstats nchstats; /* cache effectiveness statistics */
-struct vnode nchENOENT; /* our own "novnode" */
+struct nchstats nchstats; /* cache effectiveness statistics */
+struct vnode nchENOENT; /* our own "novnode" */
int doingcache = 1; /* 1 => enable the cache */
+u_long nextvnodeid;
+u_long numcache;
+u_long numvnodes;
#ifdef NCH_STATISTICS
u_long nchnbr;
OpenPOWER on IntegriCloud