mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
From Lite2: rename fs to vfs.
This commit is contained in:
parent
7e1f0d8dc5
commit
782ff9b2f0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14516
@ -26,7 +26,7 @@ static int _vfs_index = 0;
|
||||
static int
|
||||
initvfs(void)
|
||||
{
|
||||
int mib[2] = { CTL_FS, FS_VFSCONF };
|
||||
int mib[2] = { CTL_VFS, VFS_VFSCONF };
|
||||
size_t size = 0;
|
||||
int rv;
|
||||
|
||||
|
@ -117,7 +117,7 @@ listed here, and described in separate sections below.
|
||||
.Bl -column CTLXMACHDEPXXX "Next level namesXXXXXX" -offset indent
|
||||
.It Sy Pa Name Next level names Description
|
||||
.It CTL\_DEBUG sys/sysctl.h Debugging
|
||||
.It CTL\_FS sys/sysctl.h File system
|
||||
.It CTL\_VFS sys/sysctl.h File system
|
||||
.It CTL\_HW sys/sysctl.h Generic CPU, I/O
|
||||
.It CTL\_KERN sys/sysctl.h High kernel limits
|
||||
.It CTL\_MACHDEP sys/sysctl.h Machine dependent
|
||||
|
@ -43,7 +43,7 @@ static char copyright[] =
|
||||
#ifndef lint
|
||||
/*static char sccsid[] = "From: @(#)nfsstat.c 8.1 (Berkeley) 6/6/93";*/
|
||||
static const char rcsid[] =
|
||||
"$Id: nfsstat.c,v 1.4 1995/10/29 09:53:00 phk Exp $";
|
||||
"$Id: nfsstat.c,v 1.5 1995/10/30 15:44:44 phk Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -163,7 +163,7 @@ readstats(stp)
|
||||
int name[3];
|
||||
size_t buflen = sizeof *stp;
|
||||
|
||||
name[0] = CTL_FS;
|
||||
name[0] = CTL_VFS;
|
||||
name[1] = MOUNT_NFS;
|
||||
name[2] = NFS_NFSSTATS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user