Subject: kern/25931: layerfs vnode locking botch on error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 06/15/2004 10:33:12
>Number: 25931
>Category: kern
>Synopsis: layerfs vnode locking botch on error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 15 01:35:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD kaeru 2.0F NetBSD 2.0F (build.kaeru) #1390: Mon Jun 14 15:10:57 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
layer_lookup() and umap_lookup() call underlying filesystem's
VOP_LOOKUP() and then call layer_node_create().
because VOP_LOOKUP() might unlocked dvp,
if layer_node_create() fails, locking states will be inconsistent.
>How-To-Repeat:
code inspection.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: