summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_nfsiod.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
committerdfr <dfr@FreeBSD.org>1999-02-16 10:49:55 +0000
commit22ceb237f0acde5a7f56b22bcbec381eb41db3f8 (patch)
tree7ff504a77dea2abe8ecf3178beb55d9d3592a1b9 /sys/nfsclient/nfs_nfsiod.c
parenta90ae0fb61f0e918e3cafba8d21edfe5a29559b9 (diff)
downloadFreeBSD-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/nfsclient/nfs_nfsiod.c')
-rw-r--r--sys/nfsclient/nfs_nfsiod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c
index 5050ec8..c8da2db 100644
--- a/sys/nfsclient/nfs_nfsiod.c
+++ b/sys/nfsclient/nfs_nfsiod.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_syscalls.c 8.5 (Berkeley) 3/30/95
- * $Id: nfs_syscalls.c,v 1.44 1998/12/07 21:58:44 archie Exp $
+ * $Id: nfs_syscalls.c,v 1.45 1999/01/27 22:42:27 dillon Exp $
*/
#include <sys/param.h>
@@ -109,6 +109,8 @@ static int nfssvc_addsock __P((struct file *, struct sockaddr *,
struct proc *));
static int nfssvc_nfsd __P((struct nfsd_srvargs *,caddr_t,struct proc *));
+SYSCTL_DECL(_vfs_nfs);
+
static int nfs_privport = 0;
SYSCTL_INT(_vfs_nfs, NFS_NFSPRIVPORT, nfs_privport, CTLFLAG_RW, &nfs_privport, 0, "");
SYSCTL_INT(_vfs_nfs, OID_AUTO, gatherdelay, CTLFLAG_RW, &nfsrvw_procrastinate, 0, "");
OpenPOWER on IntegriCloud