Re: kernel BUG at drivers/ide/ide-disk.c:187 (2.6.31)

From: David Miller
Date: Thu Oct 01 2009 - 04:30:30 EST


From: Frans Pop <elendil@xxxxxxxxx>
Date: Thu, 1 Oct 2009 10:26:14 +0200

> Question for IDE maintainers: should maybe the old printing of request info
> be reinstated, or can the request flags also be obtained from the BUG
> info?

Using a BUG for this doesn't make it any easier to track down the
problem. WARN_ON_ONCE() or similar is much more appropriate here.

BUG() is for situations where the system's state is completely
irrecoverably corrupted, and we cannot continue, and that is not the
case here at all.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/