Fixed nfs sysctls. They missed out on the fs -> vfs name changes from

Lite2.  This broke nfsstat.
This commit is contained in:
Bruce Evans 1996-04-30 23:23:09 +00:00
parent e20df7fc31
commit 21e0797227
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15479
4 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94
* $Id: nfs_serv.c,v 1.27 1995/12/17 21:12:22 phk Exp $
* $Id: nfs_serv.c,v 1.28 1996/01/13 23:27:48 phk Exp $
*/
/*
@ -99,7 +99,7 @@ extern struct nfsstats nfsstats;
int nfsrvw_procrastinate = NFS_GATHERDELAY * 1000;
int nfs_async;
SYSCTL_INT(_fs_nfs, OID_AUTO, async, CTLFLAG_RW, &nfs_async, 0, "");
SYSCTL_INT(_vfs_nfs, OID_AUTO, async, CTLFLAG_RW, &nfs_async, 0, "");
static int nfsrv_access __P((struct vnode *,int,struct ucred *,int,
struct proc *));

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.3 (Berkeley) 1/4/94
* $Id: nfs_vfsops.c,v 1.26 1995/12/28 21:56:49 phk Exp $
* $Id: nfs_vfsops.c,v 1.27 1996/02/13 18:16:29 wollman Exp $
*/
#include <sys/param.h>
@ -76,8 +76,8 @@ extern int nfs_mountroot __P((void));
extern int nfs_ticks;
struct nfsstats nfsstats;
SYSCTL_NODE(_fs, MOUNT_NFS, nfs, CTLFLAG_RW, 0, "NFS filesystem");
SYSCTL_STRUCT(_fs_nfs, NFS_NFSSTATS, nfsstats, CTLFLAG_RD,
SYSCTL_NODE(_vfs, MOUNT_NFS, nfs, CTLFLAG_RW, 0, "NFS filesystem");
SYSCTL_STRUCT(_vfs_nfs, NFS_NFSSTATS, nfsstats, CTLFLAG_RD,
&nfsstats, nfsstats, "");
static int nfs_iosize __P((struct nfsmount *nmp));

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.3 (Berkeley) 1/4/94
* $Id: nfs_vfsops.c,v 1.26 1995/12/28 21:56:49 phk Exp $
* $Id: nfs_vfsops.c,v 1.27 1996/02/13 18:16:29 wollman Exp $
*/
#include <sys/param.h>
@ -76,8 +76,8 @@ extern int nfs_mountroot __P((void));
extern int nfs_ticks;
struct nfsstats nfsstats;
SYSCTL_NODE(_fs, MOUNT_NFS, nfs, CTLFLAG_RW, 0, "NFS filesystem");
SYSCTL_STRUCT(_fs_nfs, NFS_NFSSTATS, nfsstats, CTLFLAG_RD,
SYSCTL_NODE(_vfs, MOUNT_NFS, nfs, CTLFLAG_RW, 0, "NFS filesystem");
SYSCTL_STRUCT(_vfs_nfs, NFS_NFSSTATS, nfsstats, CTLFLAG_RD,
&nfsstats, nfsstats, "");
static int nfs_iosize __P((struct nfsmount *nmp));

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94
* $Id: nfs_serv.c,v 1.27 1995/12/17 21:12:22 phk Exp $
* $Id: nfs_serv.c,v 1.28 1996/01/13 23:27:48 phk Exp $
*/
/*
@ -99,7 +99,7 @@ extern struct nfsstats nfsstats;
int nfsrvw_procrastinate = NFS_GATHERDELAY * 1000;
int nfs_async;
SYSCTL_INT(_fs_nfs, OID_AUTO, async, CTLFLAG_RW, &nfs_async, 0, "");
SYSCTL_INT(_vfs_nfs, OID_AUTO, async, CTLFLAG_RW, &nfs_async, 0, "");
static int nfsrv_access __P((struct vnode *,int,struct ucred *,int,
struct proc *));