summaryrefslogtreecommitdiff
path: root/sys/miscfs/nullfs/null_subr.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-04-28 09:28:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-04-28 09:28:19 +0000
commitb8c7f7d225a0818af863141be01804bafd685c8f (patch)
tree80bf9d5ac5f1bc35b15507e8ef5b88e7a17c80ff /sys/miscfs/nullfs/null_subr.c
parentae56ece12b92c7cacfd911b0acbdda5aaf9aa098 (diff)
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/miscfs/nullfs/null_subr.c')
-rw-r--r--sys/miscfs/nullfs/null_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/nullfs/null_subr.c b/sys/miscfs/nullfs/null_subr.c
index 5d4fadc09d8..ab4eda6fc95 100644
--- a/sys/miscfs/nullfs/null_subr.c
+++ b/sys/miscfs/nullfs/null_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: null_subr.c,v 1.8 1998/08/06 19:34:41 csapuntz Exp $ */
+/* $OpenBSD: null_subr.c,v 1.9 1999/04/28 09:28:15 art Exp $ */
/* $NetBSD: null_subr.c,v 1.6 1996/05/10 22:50:52 jtk Exp $ */
/*
@@ -84,7 +84,7 @@ nullfs_init(vfsp)
#ifdef NULLFS_DIAGNOSTIC
printf("nullfs_init\n"); /* printed during system boot */
#endif
- null_node_hashtbl = hashinit(NNULLNODECACHE, M_CACHE, &null_node_hash);
+ null_node_hashtbl = hashinit(NNULLNODECACHE, M_CACHE, M_WAITOK, &null_node_hash);
return (0);
}