From owner-cvs-all Thu Aug 22 0:45: 6 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B49A037B405; Thu, 22 Aug 2002 00:44:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1F5A43E86; Thu, 22 Aug 2002 00:44:52 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from freefall.freebsd.org (jeff@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7M7ijJU029507; Thu, 22 Aug 2002 00:44:45 -0700 (PDT) (envelope-from jeff@freefall.freebsd.org) Received: (from jeff@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7M7ijuY029506; Thu, 22 Aug 2002 00:44:45 -0700 (PDT) Message-Id: <200208220744.g7M7ijuY029506@freefall.freebsd.org> From: Jeff Roberson Date: Thu, 22 Aug 2002 00:44:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c vfs_vnops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jeff 2002/08/22 00:44:45 PDT Modified files: sys/kern vfs_subr.c vfs_vnops.c Log: - Make vn_lock() vget() and VOP_LOCK() all behave the same way WRT LK_INTERLOCK. The interlock will never be held on return from these functions even when there is an error. Errors typically only occur when the XLOCK is held which means this isn't the vnode we want anyway. Almost all users of these interfaces expected this behavior even though it was not provided before. Revision Changes Path 1.397 +7 -15 src/sys/kern/vfs_subr.c 1.169 +2 -3 src/sys/kern/vfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message