git: HAMMER VFS - Fix volume ref count leak in fhtovp code.

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 5 13:03:37 PST 2010


commit d978e7cf573cdc68f1e2ae57263605a29dcb9635
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 5 13:01:43 2010 -0800

    HAMMER VFS - Fix volume ref count leak in fhtovp code.
    
    * The transaction is left dangling open if the inode could not be found
      in a fhtovp operation, leaking refs on the root volume.  Fix by properly
      closing the transaction.
    
    Reported-by: Jan Lentfer <Jan.Lentfer at web.de>

Summary of changes:
 sys/vfs/hammer/hammer_vfsops.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list