From b8c7f7d225a0818af863141be01804bafd685c8f Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 28 Apr 1999 09:28:19 +0000 Subject: zap the newhashinit hack. Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit. --- sys/miscfs/nullfs/null_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/miscfs/nullfs') 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); } -- cgit v1.2.3