summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_ihash.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2010-09-04 21:35:59 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2010-09-04 21:35:59 +0000
commita1a7ffe8d6492c421846f4481a42ee6ad08fb638 (patch)
tree14439df99c4db5727d68dde8429acf62cf361170 /sys/ntfs/ntfs_ihash.c
parent4890afe69020fe918091de424fbecba5d6bd83cc (diff)
revert previous "simplification". kcornies at gmail says it doesn't work.
Diffstat (limited to 'sys/ntfs/ntfs_ihash.c')
-rw-r--r--sys/ntfs/ntfs_ihash.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/ntfs/ntfs_ihash.c b/sys/ntfs/ntfs_ihash.c
index 714b60b912a..e22f1236eb5 100644
--- a/sys/ntfs/ntfs_ihash.c
+++ b/sys/ntfs/ntfs_ihash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_ihash.c,v 1.9 2010/08/22 21:23:07 tedu Exp $ */
+/* $OpenBSD: ntfs_ihash.c,v 1.10 2010/09/04 21:35:58 tedu Exp $ */
/* $NetBSD: ntfs_ihash.c,v 1.1 2002/12/23 17:38:32 jdolecek Exp $ */
/*
@@ -39,12 +39,17 @@
#include <sys/rwlock.h>
#include <sys/vnode.h>
#include <sys/malloc.h>
+#include <sys/proc.h>
#include <sys/mount.h>
#include <ntfs/ntfs.h>
#include <ntfs/ntfs_inode.h>
#include <ntfs/ntfs_ihash.h>
+#ifdef MALLOC_DEFINE
+MALLOC_DEFINE(M_NTFSNTHASH, "NTFS nthash", "NTFS ntnode hash tables");
+#endif
+
/*
* Structures associated with inode cacheing.
*/