Fix a bug in sillyrename handling in nfs_inactive(). The code was improperly
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 4 Sep 2004 23:12:55 +0000 (23:12 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 4 Sep 2004 23:12:55 +0000 (23:12 +0000)
commit48b38f01c1735eba161fde8a1a591d2b61f67599
tree715fe2a670b4e4c0078fa0c1940874789485977e
parent4097d120251ab141c6ce275feaaba37406f01959
Fix a bug in sillyrename handling in nfs_inactive().  The code was improperly
ignoring the lock state of the passed vp and recursing nfs_inactive() by
calling vrele() from within nfs_inactive().  Since NFS uses real vnode
locking now, this resulted in a panic.

KDE startup problems reported by:  Emiel Kollof <coolvibe@hackerheaven.org>
sys/kern/vfs_subr.c
sys/sys/vnode.h
sys/vfs/nfs/nfs_node.c