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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Feb 2012 20:57:16 -0800 (PST)

commit db0c2eb38aa0419f2a01f592c31ea383f50df5a3
Author: Matthew Dillon <dillon@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



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