* De: Terry Lambert <[EMAIL PROTECTED]> [ Data: 2002-09-28 ]
[ Subjecte: Re: GEOM panic in current kernel ]
> Poul-Henning Kamp wrote:
> > + bzero(&mymutex, sizeof mymutex);
> > mtx_init(&mymutex, "g_up", MTX_DEF, 0);
>
>
> Too bad mtx_init() doesn't really initialize the mutex, or
> this would not be necessary. 8-(.
That would break some witness checks, Terry, which check for something very
bad, which shouldn't happen: a mutex actually being initialised twice.
--
Juli Mallett <[EMAIL PROTECTED]> | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger [EMAIL PROTECTED]
http://people.FreeBSD.org/~jmallett/ | Support my FreeBSD hacking!
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message