kernel - Cleanup, add assertions in the vnode freeing path
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 14 Feb 2010 01:30:02 +0000 (17:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 14 Feb 2010 01:30:02 +0000 (17:30 -0800)
commit4f51b8ae58b217a66b7097fc87564f6bf70aa2c4
tree3d87fc7b0afafebef92e3969f101aa200123b1eb
parent84010a4b53fd298d547523298e6b55d11e08594f
kernel - Cleanup, add assertions in the vnode freeing path

* Remove debug kprintf: "Warning ncp ... deadlock avoided".

* Add assertions on the vnode flag state when adding and removing
  from the freelist, or when dtor() is called by the backing store.
sys/kern/vfs_cache.c
sys/kern/vfs_lock.c