Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 07/09/2007 11:35:21
Module Name:	src
Committed By:	pooka
Date:		Mon Jul  9 11:35:21 UTC 2007

Modified Files:
	src/sys/kern: vfs_subr.c

Log Message:
Don't drain a vnode's lock when we are cleaning it out.  It still
might be used by upper layers in the vnode stack due to exported
lock pointers.  This introduces no difference to the normal case
and works around a problem where a lower layer vnode is cleaned
out before the upper layer due to forced unmount or revoke.  And
for cosmetics, set a vnode's lock export to NULL when it is cleaned
out.

per discussion with Bill Stouder-Studenmund on tech-kern


To generate a diff of this commit:
cvs rdiff -r1.288 -r1.289 src/sys/kern/vfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.