DragonFly BSD
DragonFly commits List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Oct 2003 11:11:37 -0700 (PDT)

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]