From owner-cvs-all@FreeBSD.ORG Sat Oct 4 17:02:42 2003 Return-Path: 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 D4B6F16A4B3; Sat, 4 Oct 2003 17:02:42 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54AF143F85; Sat, 4 Oct 2003 17:02:42 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9502gXJ048237; Sat, 4 Oct 2003 17:02:42 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9502g2e048236; Sat, 4 Oct 2003 17:02:42 -0700 (PDT) (envelope-from jeff) Message-Id: <200310050002.h9502g2e048236@repoman.freebsd.org> From: Jeff Roberson Date: Sat, 4 Oct 2003 17:02:42 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2003 00:02:43 -0000 jeff 2003/10/04 17:02:42 PDT FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: - Move the xlock 'locking' code into vx_lock() and vx_unlock(). - Create a new function, vgonechrl(), which performs vgone for an in-use character device. Move the code from vflush() that did this into vgonechrl(). - Hold the xlock across the entirety of vgonel() and vgonechrl() so that at no point will an invalid vnode exist on any list without XLOCK set. - Move the xlock code out of vclean() now that it is in the vgone*() functions. Revision Changes Path 1.461 +54 -21 src/sys/kern/vfs_subr.c