From owner-cvs-src@FreeBSD.ORG Sun Oct 5 00:42:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A72016A4BF; Sun, 5 Oct 2003 00:42:28 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1362943FE9; Sun, 5 Oct 2003 00:42:27 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.9/8.12.9) with ESMTP id h957gIN1048517; Sun, 5 Oct 2003 00:42:21 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200310050742.h957gIN1048517@gw.catspoiler.org> Date: Sun, 5 Oct 2003 00:42:17 -0700 (PDT) From: Don Lewis To: jeff@FreeBSD.org In-Reply-To: <200310050712.h957Cc1v078350@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2003 07:42:28 -0000 On 5 Oct, Jeff Roberson wrote: > jeff 2003/10/05 00:12:38 PDT > > FreeBSD src repository > > Modified files: > sys/kern vfs_subr.c > Log: > - Fix an XXX. Check the error of vn_lock() in vflush(). Don't specify > LK_RETRY either, we don't want this vnode if it turns into another. > - Remove the code that checks the mount point after acquiring the lock > we are guaranteed to either fail or get the vnode that we wanted. > > Revision Changes Path > 1.465 +2 -13 src/sys/kern/vfs_subr.c What keeps this from spinning if some other thread holds the lock on the first vnode on the list?