Date: Mon, 05 Aug 2002 15:45:57 -0700 From: Peter Wemm <peter@wemm.org> To: Pierre Beyssac <pb@fasterix.frmug.org> Cc: Bruce Evans <bde@zeta.org.au>, freebsd-current@FreeBSD.ORG Subject: Re: deadlock in fs/msdosfs/msdosfs_vnops.c:msdosfs_fsync() Message-ID: <20020805224557.D09D12A7D6@canning.wemm.org> In-Reply-To: <20020805224153.A564@fasterix.frmug.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Pierre Beyssac wrote:
> Well, I think I got it...
>
> --- msdosfs_vnops.c.orig Mon Aug 5 21:20:13 2002
> +++ msdosfs_vnops.c Mon Aug 5 22:35:52 2002
> @@ -830,7 +830,7 @@
> goto loop;
> }
> while (vp->v_numoutput) {
> - vp->v_vflag |= VI_BWAIT;
> + vp->v_iflag |= VI_BWAIT;
> (void) msleep((caddr_t)&vp->v_numoutput, VI_MTX(vp),
> PRIBIO + 1, "msdosfsn", 0);
> }
>
> I'll commit that if nobody objects to it.
It looks pretty obvious, IMHO go right ahead - especially if it fixes it :-).
Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
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?20020805224557.D09D12A7D6>
