summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs/ntfs_ihash.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/ntfs/ntfs_ihash.c')
-rw-r--r--sys/fs/ntfs/ntfs_ihash.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/fs/ntfs/ntfs_ihash.c b/sys/fs/ntfs/ntfs_ihash.c
index ad461ea..e795545 100644
--- a/sys/fs/ntfs/ntfs_ihash.c
+++ b/sys/fs/ntfs/ntfs_ihash.c
@@ -1,3 +1,5 @@
+/* $NetBSD: ntfs_ihash.c,v 1.2 1999/05/06 15:43:19 christos Exp $ */
+
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993, 1995
* The Regents of the University of California. All rights reserved.
@@ -31,7 +33,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_ihash.c 8.7 (Berkeley) 5/17/95
- * $Id: ntfs_ihash.c,v 1.3 1999/04/20 21:06:43 semenu Exp $
+ * $Id: ntfs_ihash.c,v 1.4 1999/05/11 19:54:50 phk Exp $
*/
#include <sys/param.h>
@@ -65,7 +67,8 @@ void
ntfs_nthashinit()
{
- ntfs_nthashtbl = hashinit(desiredvnodes, M_NTFSNTHASH, &ntfs_nthash);
+ ntfs_nthashtbl = HASHINIT(desiredvnodes, M_NTFSNTHASH, M_WAITOK,
+ &ntfs_nthash);
simple_lock_init(&ntfs_nthash_slock);
}
OpenPOWER on IntegriCloud