Subject: CVS commit: src/sys/coda
To: None <source-changes@NetBSD.org>
From: Greg Troxel <gdt@netbsd.org>
List: source-changes
Date: 04/05/2007 12:48:52
Module Name:	src
Committed By:	gdt
Date:		Thu Apr  5 12:48:52 UTC 2007

Modified Files:
	src/sys/coda: coda_vnops.c

Log Message:
Improve conformance to vnode locking rules in coda_lookup, by doing
the unlock parent, lock child, lock parent in the ISDOTDOT case.

Clean up and rewrite comments to match more closely current reality.

Sprinkle XXX where I'm not sure the current rules are being followed.

Reviewed by wrstuden@, who agreed that this is an improvement over the
current code, with concerns about LK_RETRY and whether the ISDOTDOT
locking is done soon enough.


To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 src/sys/coda/coda_vnops.c

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