summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-10-30 14:08:26 +0000
committerkib <kib@FreeBSD.org>2010-10-30 14:08:26 +0000
commit27d55f5f716bc1f6abe89193ad4f1185e88c37f4 (patch)
tree07d8062223c9c9d915051e668cb3d6b90658468a /sys/kern/vfs_cache.c
parentd5b678ca0dc503e5c0ee4dde9d43cb0138def17c (diff)
downloadFreeBSD-src-27d55f5f716bc1f6abe89193ad4f1185e88c37f4.zip
FreeBSD-src-27d55f5f716bc1f6abe89193ad4f1185e88c37f4.tar.gz
Remove sysctl debug.ncnegfactor, it is renamed to vfs.ncnegfactor.
MFC: do not
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r--sys/kern/vfs_cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 5a48a67..0efdbc1 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -129,8 +129,6 @@ static u_long nchash; /* size of hash table */
SYSCTL_ULONG(_debug, OID_AUTO, nchash, CTLFLAG_RD, &nchash, 0,
"Size of namecache hash table");
static u_long ncnegfactor = 16; /* ratio of negative entries */
-/* _debug sysctl left for backward compatibility */
-SYSCTL_ULONG(_debug, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, 0, "");
SYSCTL_ULONG(_vfs, OID_AUTO, ncnegfactor, CTLFLAG_RW, &ncnegfactor, 0,
"Ratio of negative namecache entries");
static u_long numneg; /* number of negative entries allocated */
OpenPOWER on IntegriCloud