git: hammer2 hammer2 - fix umount panic, misc fixes

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 11 00:30:34 PST 2012


commit df9ea3742cca00817e8bd3621d3db533e838ad36
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 11 00:27:34 2012 -0800

    hammer2 - fix umount panic, misc fixes
    
    * Properly assign the vnode type.  Remove ip->type and instead of use
      ip->data.type.  This also allows vflush() to work properly during umount.
    
    * Handle degenerate VOP_RECLAIM case.
    
    * Add freecache[] array to help in the upcoming simple test-only freemap
      allocator.

Summary of changes:
 sys/vfs/hammer2/hammer2.h        |   14 ++++++--------
 sys/vfs/hammer2/hammer2_inode.c  |   12 +++++++-----
 sys/vfs/hammer2/hammer2_vfsops.c |    2 ++
 sys/vfs/hammer2/hammer2_vnops.c  |   11 ++++++++++-
 4 files changed, 25 insertions(+), 14 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list