Subject: CVS commit: src/sys/miscfs/genfs
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 11/25/2006 22:36:24
Module Name: src
Committed By: elad
Date: Sat Nov 25 22:36:24 UTC 2006
Modified Files:
src/sys/miscfs/genfs: layer_vnops.c
Log Message:
Part of PR/33280: Christian Ehrhardt: If LK_INTERLOCK is set
vp->v_interlock may be unlocked twice: Once explicitly and a second time
implicilty by lockmgr. LK_INTERLOCK is cleared from the variable flags but
not from ap->a_flags which is used with lockmgr. This is not so much of a
problem because there seems to be no call site that actually uses
LK_INTERLOCK with layer_unlock or VOP_UNLOCK.
okay martin@
To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/miscfs/genfs/layer_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.