Re: Oops in 2.4.0-ac2

From: Chris Mason (mason@suse.com)
Date: Sat Jan 06 2001 - 22:03:29 EST


On Sunday, January 07, 2001 03:48:41 AM +0100 Daniel Phillips
<phillips@innominate.de> wrote:

> A null buffer was passed by kupdate_one_transaction (looks like a
> Reiserfs function) to __refile_buffer. Chris?
>

Known bug, there should be another reiserfs release soon that includes the
fix. The problem is that another transaction can set cn->bh to null while it
is being waited on. The fix is to let someone else refile it later.

-chris

--- linux/fs/reiserfs/journal.c.1 Fri Jan 5 15:37:12 2001
+++ linux/fs/reiserfs/journal.c Fri Jan 5 15:37:15 2001
@@ -1146,7 +1146,6 @@
             clear_bit(BLOCK_NEEDS_FLUSH, &cn->state) ;
             if (!pjl && cn->bh) {
                 wait_on_buffer(cn->bh) ;
- refile_buffer(cn->bh) ;
             }
             /* check again, someone could have logged while we scheduled */
             pjl = find_newer_jl_for_cn(cn) ;

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



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:26 EST