mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Put deprecated sysctl code inside BURN_BRIDGES.
This commit is contained in:
parent
24449958e4
commit
a0b5a67929
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128141
@ -2763,6 +2763,9 @@ vfsconf2x(struct vfsconf *vfsp, struct xvfsconf *xvfsp)
|
||||
xvfsp->vfc_next = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Top level filesystem related information gathering.
|
||||
*/
|
||||
static int
|
||||
sysctl_vfs_conflist(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
@ -2794,9 +2797,7 @@ sysctl_vfs_conflist(SYSCTL_HANDLER_ARGS)
|
||||
SYSCTL_PROC(_vfs, OID_AUTO, conflist, CTLFLAG_RD, NULL, 0, sysctl_vfs_conflist,
|
||||
"S,xvfsconf", "List of all configured filesystems");
|
||||
|
||||
/*
|
||||
* Top level filesystem related information gathering.
|
||||
*/
|
||||
#ifndef BURN_BRIDGES
|
||||
static int sysctl_ovfs_conf(SYSCTL_HANDLER_ARGS);
|
||||
|
||||
static int
|
||||
@ -2861,6 +2862,7 @@ sysctl_ovfs_conf(SYSCTL_HANDLER_ARGS)
|
||||
}
|
||||
|
||||
#endif /* 1 || COMPAT_PRELITE2 */
|
||||
#endif /* !BURN_BRIDGES */
|
||||
|
||||
#define KINFO_VNODESLOP 10
|
||||
#ifdef notyet
|
||||
|
Loading…
Reference in New Issue
Block a user