From 946c84371528b181cc425ce11d5b8767170f086d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 15 Oct 1996 11:34:16 +0000 Subject: nqnfs code is for client+server; spotted by niklas --- sys/nfs/nfs_subs.c | 6 +++--- 1 file 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 -- cgit v1.2.3