From owner-freebsd-current Mon Mar 18 17: 4:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 0384E37B400; Mon, 18 Mar 2002 17:04:36 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 7DE605346; Tue, 19 Mar 2002 02:04:34 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Alfred Perlstein Cc: Kris Kennaway , current@freebsd.org, fs@freebsd.org Subject: Re: panic: bwrite: buffer is not busy??? References: <20020318061739.GB894@elvis.mu.org> <20020318071623.GD894@elvis.mu.org> <20020318010245.A48956@xor.obsecurity.org> <20020318143204.GA688@elvis.mu.org> <20020318223631.GA23014@elvis.mu.org> <20020319005325.GA455@elvis.mu.org> From: Dag-Erling Smorgrav Date: 19 Mar 2002 02:04:33 +0100 In-Reply-To: <20020319005325.GA455@elvis.mu.org> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alfred Perlstein writes: > if checkdirs wins the race for proc lock it will do its magic and > fdfree will wait while it does that. > > if fdfree wins, then checkdirs will see a NULL p_fd pointer. You're right. I'm still worried about other fdfree() callers, though, but this patch is definitely better than the current state of affairs, so you might as well commit it :) DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message