Fix a vnode recyclement namecache<->vnode deadlock introduced with recent
commit43a5c3115ad91453953e7ef43ec1ca4ee91431f5
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 13 May 2007 02:34:22 +0000 (13 02:34 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 13 May 2007 02:34:22 +0000 (13 02:34 +0000)
tree3420c014fbbce6991ec3ccebc9797d2b7711e0a5
parent1f18aa65835c4ae8338406fac58e97031ffc41fa
Fix a vnode recyclement namecache<->vnode deadlock introduced with recent
changes.  Two primary fixes have been made to the allocvnode and vnlru
recyclement code.

There are still a few possible deadlocks in less traveled code
paths (such as in procfs) that existed prior to recent changes.

Reported-by: Peter Avalos <pavalos@theshell.com>,
     Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
sys/kern/vfs_cache.c
sys/kern/vfs_lock.c
sys/kern/vfs_mount.c
sys/sys/namecache.h