Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 06/27/2000 16:39:20
Module Name:	syssrc
Committed By:	fvdl
Date:		Tue Jun 27 23:39:19 UTC 2000

Modified Files:
	syssrc/sys/ufs/ffs: ffs_vfsops.c

Log Message:
In ffs_vget, do not hold ufs_haslock across the call to getnewvnode.
We may sleep in it, or even recurse, with softdeps. Instead, grab
the lock later, but check if noone else has beaten us to the VFS_VGET
operation, and if so, roll back getnewvnode using vinsheadfree, and
just return.


To generate a diff of this commit:
cvs rdiff -r1.67 -r1.68 syssrc/sys/ufs/ffs/ffs_vfsops.c

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