From owner-cvs-all@FreeBSD.ORG Fri May 16 12:46:52 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 CF67337B401; Fri, 16 May 2003 12:46:52 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D65A43FAF; Fri, 16 May 2003 12:46:52 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4GJkq0U073422; Fri, 16 May 2003 12:46:52 -0700 (PDT) (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4GJkqeG073421; Fri, 16 May 2003 12:46:52 -0700 (PDT) Message-Id: <200305161946.h4GJkqeG073421@repoman.freebsd.org> From: Don Lewis Date: Fri, 16 May 2003 12:46:52 -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: Fri, 16 May 2003 19:46:53 -0000 truckman 2003/05/16 12:46:52 PDT FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: Detect that a vnode has been reclaimed while vflush() was waiting to lock the vnode and restart the loop. Vflush() is vulnerable since it does not hold a reference to the vnode and it holds no other locks while waiting for the vnode lock. The vnode will no longer be on the list when the loop is restarted. Approved by: re (rwatson) Revision Changes Path 1.449 +11 -0 src/sys/kern/vfs_subr.c