Re: Oops on 2.2.14 While Doing Direct I/O.

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed Feb 23 2000 - 13:12:43 EST


Hi,

On Tue, 22 Feb 2000 17:49:04 +0100 (CET), Andrea Arcangeli
<andrea@suse.de> said:

>> clear_bit(BH_Uptodate, &bh[i]->b_state);

> 1) You forgot to set the bh[i]->b_end_io callback, that's why it
> crashes immediatly within the IDE irq handler (probably killing the
> idle task or similar).

Yes --- use init_buffer(), that's what it's there for.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:33 EST