Move initialization of a vnode's various red-black trees to the CTOR function
commitc63c963d838690cfbf2053ba55f54e0103e7a47d
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 9 Jun 2007 19:46:02 +0000 (9 19:46 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 9 Jun 2007 19:46:02 +0000 (9 19:46 +0000)
tree2600b1fc3ea0ba5f5d58c8fc1358d6e3ed128b59
parent5137e6ac3601e8fdc050abf8c30e855584765ff9
Move initialization of a vnode's various red-black trees to the CTOR function
rather then reinitializing the trees on reuse.

Add assertions that the trees are empty on reuse and that the vnode is not
on the syncer work list.
sys/kern/vfs_lock.c