diff options
author | jmg <jmg@FreeBSD.org> | 2006-04-16 18:38:30 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2006-04-16 18:38:30 +0000 |
commit | 4a3ab050f7810df3bf3af7566f7cf491870076ce (patch) | |
tree | 95cca692774f240092dc4399e1d267153b69049b /sys | |
parent | 9f1a3cb412482d046ba535218e944aa66c11e30f (diff) | |
download | FreeBSD-src-4a3ab050f7810df3bf3af7566f7cf491870076ce.zip FreeBSD-src-4a3ab050f7810df3bf3af7566f7cf491870076ce.tar.gz |
remove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)...
move ncsize into debug.sizeof and rename to namecache...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index dbb07f9..bbcca1d 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -141,8 +141,8 @@ static int doingcache = 1; /* 1 => enable the cache */ SYSCTL_INT(_debug, OID_AUTO, vfscache, CTLFLAG_RW, &doingcache, 0, ""); /* Export size information to userland */ -SYSCTL_INT(_debug, OID_AUTO, vnsize, CTLFLAG_RD, 0, sizeof(struct vnode), ""); -SYSCTL_INT(_debug, OID_AUTO, ncsize, CTLFLAG_RD, 0, sizeof(struct namecache), ""); +SYSCTL_INT(_debug_sizeof, OID_AUTO, namecache, CTLFLAG_RD, 0, + sizeof(struct namecache), ""); /* * The new name cache statistics |