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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/fs/ntfs/ntfs_ihash.c b/sys/fs/ntfs/ntfs_ihash.c
index 0deecff..cd2300d 100644
--- a/sys/fs/ntfs/ntfs_ihash.c
+++ b/sys/fs/ntfs/ntfs_ihash.c
@@ -75,6 +75,15 @@ ntfs_nthashinit()
}
/*
+ * Destroy inode hash table.
+ */
+void
+ntfs_nthashdestroy(void)
+{
+ lockdestroy(&ntfs_hashlock);
+}
+
+/*
* Use the device/inum pair to find the incore inode, and return a pointer
* to it. If it is in core, return it, even if it is locked.
*/
OpenPOWER on IntegriCloud