mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
The sysctl mod_xx hack is no longer required now that we have totally
dynamic sysctl registration.
This commit is contained in:
parent
acf5b0bacb
commit
016fc47da3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54497
@ -52,16 +52,6 @@
|
||||
|
||||
MALLOC_DEFINE(M_VNODE, "vnodes", "Dynamically allocated vnodes");
|
||||
|
||||
/*
|
||||
* XXX this bloat just exands the sysctl__vfs linker set a little so that
|
||||
* we can attach sysctls for VFS modules without expanding the linker set.
|
||||
* Currently (1998/09/06), only one VFS uses sysctls, so 2 extra linker
|
||||
* set slots are more than sufficient.
|
||||
*/
|
||||
static int mod_xx;
|
||||
SYSCTL_INT(_vfs, OID_AUTO, mod0, CTLFLAG_RD, &mod_xx, 0, "");
|
||||
SYSCTL_INT(_vfs, OID_AUTO, mod1, CTLFLAG_RD, &mod_xx, 0, "");
|
||||
|
||||
/*
|
||||
* Zone for namei
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user