mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 04:13:39 +00:00
Fixed nfs sysctls. They missed out on the fs -> vfs name changes from
Lite2. This broke nfsstat.
This commit is contained in:
parent
e20df7fc31
commit
21e0797227
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15479
@ -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 *));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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 *));
|
||||
|
Loading…
Reference in New Issue
Block a user