Re: [PATCH] EVMS core (3/9) discover.c

From: Kevin Corry (corryk@us.ibm.com)
Date: Thu Oct 10 2002 - 16:15:34 EST


On Thursday 10 October 2002 15:48, Andi Kleen wrote:
> Kevin Corry <corryk@us.ibm.com> writes:
> > +
> > + if (!gd) {
> > + gd = alloc_disk();
> > + BUG_ON(!gd);
>
> BUG_ON ? Can't this fail for legal reasons?

Yes, it can. This, and a couple other incorrect BUG_ON() statements have been
fixed to fail gracefully. Thanks for catching this.

-- 
Kevin Corry
corryk@us.ibm.com
http://evms.sourceforge.net/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:39 EST