Subject: PR/33280 CVS commit: src/sys/miscfs/genfs
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Elad Efrat <elad@netbsd.org>
List: netbsd-bugs
Date: 11/25/2006 22:40:02
The following reply was made to PR kern/33280; it has been noted by GNATS.

From: Elad Efrat <elad@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33280 CVS commit: src/sys/miscfs/genfs
Date: Sat, 25 Nov 2006 22:36:24 +0000 (UTC)

 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.