diff options
author | 1999-04-28 09:28:14 +0000 | |
---|---|---|
committer | 1999-04-28 09:28:14 +0000 | |
commit | a197ef3200bd75939df756dd231d991195efe33a (patch) | |
tree | 8abb82e98574d5b895e1f487af9fff1308c2c156 /sys/nfs/nfs_subs.c | |
parent | Merge with EOM 1.5 (diff) | |
download | wireguard-openbsd-a197ef3200bd75939df756dd231d991195efe33a.tar.xz wireguard-openbsd-a197ef3200bd75939df756dd231d991195efe33a.zip |
zap the newhashinit hack.
Add an extra flag to hashinit telling if it should wait in malloc.
update all calls to hashinit.
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r-- | sys/nfs/nfs_subs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index e6b5c773eca..f4c6a736892 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.26 1999/02/26 03:16:25 art Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.27 1999/04/28 09:28:17 art Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -1133,7 +1133,7 @@ nfs_init() + nqsrv_clockskew + nqsrv_writeslack; NQLOADNOVRAM(nqnfsstarttime); CIRCLEQ_INIT(&nqtimerhead); - nqfhhashtbl = hashinit(NQLCHSZ, M_NQLEASE, &nqfhhash); + nqfhhashtbl = hashinit(NQLCHSZ, M_NQLEASE, M_WAITOK, &nqfhhash); } /* |