diff options
author | dfr <dfr@FreeBSD.org> | 1999-02-16 10:49:55 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-02-16 10:49:55 +0000 |
commit | 22ceb237f0acde5a7f56b22bcbec381eb41db3f8 (patch) | |
tree | 7ff504a77dea2abe8ecf3178beb55d9d3592a1b9 /sys/nfs/nfs_serv.c | |
parent | a90ae0fb61f0e918e3cafba8d21edfe5a29559b9 (diff) | |
download | FreeBSD-src-22ceb237f0acde5a7f56b22bcbec381eb41db3f8.zip FreeBSD-src-22ceb237f0acde5a7f56b22bcbec381eb41db3f8.tar.gz |
* Change sysctl from using linker_set to construct its tree using SLISTs.
This makes it possible to change the sysctl tree at runtime.
* Change KLD to find and register any sysctl nodes contained in the loaded
file and to unregister them when the file is unloaded.
Reviewed by: Archie Cobbs <archie@whistle.com>,
Peter Wemm <peter@netplex.com.au> (well they looked at it anyway)
Diffstat (limited to 'sys/nfs/nfs_serv.c')
-rw-r--r-- | sys/nfs/nfs_serv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 346c4fc..cb6f0e8 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_serv.c 8.8 (Berkeley) 7/31/95 - * $Id: nfs_serv.c,v 1.71 1998/12/08 23:11:24 eivind Exp $ + * $Id: nfs_serv.c,v 1.72 1998/12/09 15:12:53 eivind Exp $ */ /* @@ -99,6 +99,8 @@ extern struct nfsstats nfsstats; int nfsrvw_procrastinate = NFS_GATHERDELAY * 1000; int nfsrvw_procrastinate_v3 = 0; +SYSCTL_DECL(_vfs_nfs); + static int nfs_async; SYSCTL_INT(_vfs_nfs, OID_AUTO, async, CTLFLAG_RW, &nfs_async, 0, ""); |