Fix a ``missing free''.
authorHiten Pandya <hmp@dragonflybsd.org>
Sun, 19 Oct 2003 18:11:37 +0000 (18:11 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Sun, 19 Oct 2003 18:11:37 +0000 (18:11 +0000)
commit6baa4fd6e3020189125bd4c123d3576c24d6823d
tree468d3e1228e37e91b16b0f516ccb06d84163bdb1
parent4765476666447db916224f190f3456e837fbde81
Fix a ``missing free''.

The NTFS Inode hashing code did not free the inode hash, which caused
the following warning at unload time.  This is only noticed when NTFS
is loaded as a KLD module:

   malloc_uninit: 32768 bytes of 'NTFS nthash' still allocated on cpu0

Use vfs_uninit() entry point to solve this issue, by calling (new)
ntfs_nthash_uninit() function to release the NT inode hash.
sys/vfs/ntfs/ntfs_ihash.c
sys/vfs/ntfs/ntfs_ihash.h
sys/vfs/ntfs/ntfs_vfsops.c