summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_subs.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-15 11:34:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-15 11:34:16 +0000
commit946c84371528b181cc425ce11d5b8767170f086d (patch)
treef48979a9516737fa34557dfb28782cb55dde885e /sys/nfs/nfs_subs.c
parent5c0492969bf0ca9f49646b000fd072b74fb37d61 (diff)
nqnfs code is for client+server; spotted by niklas
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r--sys/nfs/nfs_subs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c
index 4707aad1e0c..231f8e509ba 100644
--- a/sys/nfs/nfs_subs.c
+++ b/sys/nfs/nfs_subs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_subs.c,v 1.12 1996/09/25 11:57:25 niklas Exp $ */
+/* $OpenBSD: nfs_subs.c,v 1.13 1996/10/15 11:34:15 deraadt Exp $ */
/* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */
/*
@@ -1117,9 +1117,10 @@ nfs_init()
#ifdef NFSSERVER
nfsrv_init(0); /* Init server data structures */
nfsrv_initcache(); /* Init the server request cache */
+#endif /* NFSSERVER */
/*
- * Initialize the nqnfs server stuff.
+ * Initialize the nqnfs client/server stuff.
*/
if (nqnfsstarttime == 0) {
nqnfsstarttime = boottime.tv_sec + nqsrv_maxlease
@@ -1128,7 +1129,6 @@ nfs_init()
CIRCLEQ_INIT(&nqtimerhead);
nqfhhashtbl = hashinit(NQLCHSZ, M_NQLEASE, &nqfhhash);
}
-#endif /* NFSSERVER */
/*
* Initialize reply list and start timer