summaryrefslogtreecommitdiffstats
path: root/sys/fs/ntfs/ntfs_ihash.c
diff options
context:
space:
mode:
authorsemenu <semenu@FreeBSD.org>1999-05-12 09:43:09 +0000
committersemenu <semenu@FreeBSD.org>1999-05-12 09:43:09 +0000
commit174d713c5168fee5dbc7f58d899b5947f191ed9a (patch)
treee1fc2f6bcd4236451184982a51d9ed2d0e7aefb2 /sys/fs/ntfs/ntfs_ihash.c
parentce6e6ffd26715c99d8a770afd5c77f219487c4f9 (diff)
downloadFreeBSD-src-174d713c5168fee5dbc7f58d899b5947f191ed9a.zip
FreeBSD-src-174d713c5168fee5dbc7f58d899b5947f191ed9a.tar.gz
Driver is now ported to NetBSD.
Submitted by: Christos Zoulas <christos@zoulas.com>
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