Skip site navigation (1)Skip section navigation (2)
Date:      19 Mar 2002 02:04:33 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@freebsd.org, fs@freebsd.org
Subject:   Re: panic: bwrite: buffer is not busy???
Message-ID:  <xzp7ko9id0e.fsf@flood.ping.uio.no>
In-Reply-To: <20020319005325.GA455@elvis.mu.org>
References:  <xzpadt6r1xr.fsf@flood.ping.uio.no> <20020318061739.GB894@elvis.mu.org> <xzpvgbupdqa.fsf@flood.ping.uio.no> <20020318071623.GD894@elvis.mu.org> <20020318010245.A48956@xor.obsecurity.org> <xzp4rjep7m5.fsf@flood.ping.uio.no> <20020318143204.GA688@elvis.mu.org> <xzplmcpn8un.fsf@flood.ping.uio.no> <20020318223631.GA23014@elvis.mu.org> <xzphendlbtk.fsf@flood.ping.uio.no> <20020319005325.GA455@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <alfred@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp7ko9id0e.fsf>