1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

remove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)...

move ncsize into debug.sizeof and rename to namecache...
This commit is contained in:
John-Mark Gurney 2006-04-16 18:38:30 +00:00
parent 4a3ac3fc61
commit e98b5a89de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157799

View File

@ -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