Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2010 14:08:26 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214556 - head/sys/kern
Message-ID:  <201010301408.o9UE8QNS000532@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010301408.o9UE8QNS000532>