svn commit: r214556 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Sat Oct 30 14:08:27 UTC 2010


Author: kib
Date: Sat Oct 30 14:08:26 2010
New Revision: 214556
URL: http://svn.freebsd.org/changeset/base/214556

Log:
  Remove sysctl debug.ncnegfactor, it is renamed to vfs.ncnegfactor.
  
  MFC:	do not

Modified:
  head/sys/kern/vfs_cache.c

Modified: head/sys/kern/vfs_cache.c
==============================================================================
--- head/sys/kern/vfs_cache.c	Sat Oct 30 13:25:41 2010	(r214555)
+++ head/sys/kern/vfs_cache.c	Sat Oct 30 14:08:26 2010	(r214556)
@@ -129,8 +129,6 @@ static u_long	nchash;			/* size of hash 
 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 */


More information about the svn-src-head mailing list