From owner-cvs-all Sat Jan 29 7:23: 4 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C159415607; Sat, 29 Jan 2000 07:23:01 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA79231; Sat, 29 Jan 2000 07:23:01 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Message-Id: <200001291523.HAA79231@freefall.freebsd.org> From: Robert Watson Date: Sat, 29 Jan 2000 07:23:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk rwatson 2000/01/29 07:23:00 PST Modified files: sys/kern vfs_subr.c Log: This patch fixes a locking bug that can result in deadlock if the codepath is followed. From the PR: vclean calls vrele leading to deadlock (if usecount > 0) vclean() calls vrele() if v_usecount of the node was higher than one. But before calling it, it sets the VXLOCK flag, which will make vn_lock called from vrele dead-lock. PR: kern/15117 Submitted by: Assar Westerlund Reviewed by: rwatson Obtained from: NetBSD Revision Changes Path 1.246 +18 -3 src/sys/kern/vfs_subr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message