Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 04/22/2001 00:35:55
Module Name:	syssrc
Committed By:	bjh21
Date:		Sat Apr 21 21:35:55 UTC 2001

Modified Files:
	syssrc/sys/nfs: nfs_subs.c

Log Message:
In nfs_loadattrcache(), if checkalias() gives us a new vnode, lock it.  This
prevents us losing the locked state of the old vnode.

fvdl thinks the old vnode is certain to be locked at this point.  I've put in
a KASSERT to be on the safe side.

This seems to fix PR kern/12661.


To generate a diff of this commit:
cvs rdiff -r1.93 -r1.94 syssrc/sys/nfs/nfs_subs.c

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