summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-15 11:34:15 +0000
committerderaadt <deraadt@openbsd.org>1996-10-15 11:34:15 +0000
commit683cbf29ecafb7465e2e1fb273ff8e2a035b13d3 (patch)
tree598ef554fd85c2a6c6c1f5bdd97837649fd4e9c2 /sys/nfs
parentumask for writes; from joerg@freebsd.org (diff)
downloadwireguard-openbsd-683cbf29ecafb7465e2e1fb273ff8e2a035b13d3.tar.xz
wireguard-openbsd-683cbf29ecafb7465e2e1fb273ff8e2a035b13d3.zip
nqnfs code is for client+server; spotted by niklas
Diffstat (limited to 'sys/nfs')
-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