diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-04-28 09:28:19 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-04-28 09:28:19 +0000 |
commit | b8c7f7d225a0818af863141be01804bafd685c8f (patch) | |
tree | 80bf9d5ac5f1bc35b15507e8ef5b88e7a17c80ff /sys/msdosfs | |
parent | ae56ece12b92c7cacfd911b0acbdda5aaf9aa098 (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/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_denode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_denode.c b/sys/msdosfs/msdosfs_denode.c index 0bc5c0a3a6c..036770e8f8f 100644 --- a/sys/msdosfs/msdosfs_denode.c +++ b/sys/msdosfs/msdosfs_denode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_denode.c,v 1.15 1999/02/26 03:28:13 art Exp $ */ +/* $OpenBSD: msdosfs_denode.c,v 1.16 1999/04/28 09:28:16 art Exp $ */ /* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */ /*- @@ -81,7 +81,7 @@ int msdosfs_init(vfsp) struct vfsconf *vfsp; { - dehashtbl = hashinit(desiredvnodes/2, M_MSDOSFSMNT, &dehash); + dehashtbl = hashinit(desiredvnodes/2, M_MSDOSFSMNT, M_WAITOK, &dehash); return (0); } |