hammer2 - fix umount panic, misc fixes
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Feb 2012 08:27:34 +0000 (00:27 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Feb 2012 08:27:34 +0000 (00:27 -0800)
commitdf9ea3742cca00817e8bd3621d3db533e838ad36
treed4d5070a67f484a9fd20f759e2af5547fee2c7c3
parent0df2109e0278bbe394ebc1a6fe65cf5f5db53f16
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.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c