o Do not leak inodes hash table at module unload.

PR:		kern/118017
Submitted by:	Ighighi
MFC after:	1 week
This commit is contained in:
Maxim Konovalov 2007-11-13 19:34:06 +00:00
parent c4989d519e
commit 6b0659fc0f

View File

@ -73,6 +73,7 @@ ntfs_nthashinit()
void
ntfs_nthashdestroy(void)
{
hashdestroy(ntfs_nthashtbl, M_NTFSNTHASH, ntfs_nthash);
lockdestroy(&ntfs_hashlock);
mtx_destroy(&ntfs_nthash_mtx);
}