From owner-cvs-all Fri Jul 5 22:21:17 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 CFD3D37B401; Fri, 5 Jul 2002 22:21:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8355643E3B; Fri, 5 Jul 2002 22:21:13 -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 g665LDJU084922; Fri, 5 Jul 2002 22:21:13 -0700 (PDT) (envelope-from jeff@freefall.freebsd.org) Received: (from jeff@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g665LDPF084921; Fri, 5 Jul 2002 22:21:13 -0700 (PDT) Message-Id: <200207060521.g665LDPF084921@freefall.freebsd.org> From: Jeff Roberson Date: Fri, 5 Jul 2002 22:21:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnode.h src/sys/kern vfs_subr.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/07/05 22:21:12 PDT Modified files: sys/sys vnode.h sys/kern vfs_subr.c Log: - Add vop_strategy_pre to validate VOP_STRATEGY locking. - Disable original vop_strategy lock specification. - Switch to the new vop_strategy_pre for lock validation. VOP_STRATEGY requires only that the buf is locked UNLESS the block numbers need to be translated. There may be other reasons, but as long as the underlying layer uses a VOP to perform the operations they will be caught later. Revision Changes Path 1.371 +16 -0 src/sys/kern/vfs_subr.c 1.185 +1 -0 src/sys/sys/vnode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message