Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 06/26/2001 18:51:07
Module Name:	syssrc
Committed By:	wrstuden
Date:		Tue Jun 26 15:51:07 UTC 2001

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

Log Message:
In vcount(), when getting rid of unused aliases, don't vgone one which
has VXLOCK set - it's already being vgoned, most likely by one of our
callers. If we call vgone, we can end up sleeping against ourself
with VXLOCK set - we'll start the race for root.

Pointed out by Love <lha@stacken.kth.se> on tech-kern. Analysis from
Artur Grabowski <art@openbsd.org> via Love.

Should resolve PR kern/13077


To generate a diff of this commit:
cvs rdiff -r1.150 -r1.151 syssrc/sys/kern/vfs_subr.c

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