Subject: CVS commit: src/sys/miscfs/genfs
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 01/23/2008 20:11:32
Module Name:	src
Committed By:	ad
Date:		Wed Jan 23 20:11:32 UTC 2008

Modified Files:
	src/sys/miscfs/genfs: layer_subr.c

Log Message:
layer_node_find: if we find a node being cleaned out, then ignore it and
continue.  A thread trying to clean out the extant layer vnode needs to
acquire the shared lock (i.e. the lower vnode's lock), which our caller
already holds. To allow the cleaning to succeed the current thread must make
progress.  So, for a brief time more than one vnode in a layered file system
may refer to a single vnode in the lower file system.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/miscfs/genfs/layer_subr.c

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