git: hammer2 hammer2 - Correct memory leak, skeleton for vop_nlink

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Feb 28 20:57:16 PST 2012


commit db0c2eb38aa0419f2a01f592c31ea383f50df5a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Feb 28 20:53:26 2012 -0800

    hammer2 - Correct memory leak, skeleton for vop_nlink
    
    * Correct a memory leak related to dangling inodes that were deleted but
      also marked modified.  The modified status prevented the inode from being
      destroyed even on umount.
    
    * Create a skeleton helper for hammer2_vop_nlink (hardlink creation).
      (non functional).

Summary of changes:
 sys/vfs/hammer2/TODO            |   16 ++++++
 sys/vfs/hammer2/hammer2.h       |    7 ++-
 sys/vfs/hammer2/hammer2_chain.c |   20 +++++++-
 sys/vfs/hammer2/hammer2_disk.h  |    2 +-
 sys/vfs/hammer2/hammer2_inode.c |   62 ++++++++++++++++++++++-
 sys/vfs/hammer2/hammer2_subr.c  |    2 +-
 sys/vfs/hammer2/hammer2_vnops.c |  107 ++++++++++++++++++++++++++++++++------
 7 files changed, 192 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db0c2eb38aa0419f2a01f592c31ea383f50df5a3


-- 
DragonFly BSD source repository





More information about the Commits mailing list