cvs commit: src/sys/vfs/ntfs ntfs_ihash.c ntfs_ihash.h ntfs_vfsops.c

Hiten Pandya hmp at crater.dragonflybsd.org
Sun Oct 19 11:12:20 PDT 2003


hmp         2003/10/19 11:11:37 PDT

  Modified files:
    sys/vfs/ntfs         ntfs_ihash.c ntfs_ihash.h ntfs_vfsops.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.6       +14 -0     src/sys/vfs/ntfs/ntfs_ihash.c
  1.4       +2 -0      src/sys/vfs/ntfs/ntfs_ihash.h
  1.11      +1 -1      src/sys/vfs/ntfs/ntfs_vfsops.c






More information about the Commits mailing list