summaryrefslogtreecommitdiff
path: root/sys/isofs
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/isofs
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/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_node.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_node.c b/sys/isofs/cd9660/cd9660_node.c
index 050a4f417c3..38b0e794a45 100644
--- a/sys/isofs/cd9660/cd9660_node.c
+++ b/sys/isofs/cd9660/cd9660_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_node.c,v 1.9 1998/08/21 23:31:32 csapuntz Exp $ */
+/* $OpenBSD: cd9660_node.c,v 1.10 1999/04/28 09:28:14 art Exp $ */
/* $NetBSD: cd9660_node.c,v 1.17 1997/05/05 07:13:57 mycroft Exp $ */
/*-
@@ -84,10 +84,10 @@ cd9660_init(vfsp)
struct vfsconf *vfsp;
{
- isohashtbl = hashinit(desiredvnodes, M_ISOFSMNT, &isohash);
+ isohashtbl = hashinit(desiredvnodes, M_ISOFSMNT, M_WAITOK, &isohash);
simple_lock_init(&cd9660_ihash_slock);
#ifdef ISODEVMAP
- idvhashtbl = hashinit(desiredvnodes / 8, M_ISOFSMNT, &idvhash);
+ idvhashtbl = hashinit(desiredvnodes / 8, M_ISOFSMNT, M_WAITOK, &idvhash);
#endif
return (0);
}