From owner-cvs-sys Mon Apr 21 08:32:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23028 for cvs-sys-outgoing; Mon, 21 Apr 1997 08:32:30 -0700 (PDT) Received: (from kato@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23018; Mon, 21 Apr 1997 08:32:28 -0700 (PDT) Date: Mon, 21 Apr 1997 08:32:28 -0700 (PDT) From: KATO Takenori Message-Id: <199704211532.IAA23018@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/miscfs/union union_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk kato 97/04/21 08:32:27 Modified: sys/miscfs/union union_vnops.c Log: Dirty change in union_lock(). Sometimes upper vnode is locked without UN_ULOCK flag. This shows a locking violation but I couldn't find the reason UN_ULOCK is not set or upper vnode is not unlocked. I added the code that detect this case and adjust un_flags. DIAGNOSTIC kernel doesn't adjust un_flags, but just panic here to help debug by kernel hackers. Revision Changes Path 1.27 +23 -5 src/sys/miscfs/union/union_vnops.c