--- ./drivers/ide/raid/iswraid.c.bad Sun Mar 6 12:40:30 2005 +++ ./drivers/ide/raid/iswraid.c Sun Mar 6 13:42:12 2005 @@ -1206,6 +1206,7 @@ while (rsect < nextsect) { for (i = 0; i < 2; i++) { + struct buffer_head *bh1; if (test_bit(disk, &volume->degradedbits)) { DEBUG(DEBUG_R1EW, "skipping%s disk %d in " "volume %s, disk state = 0x%08x, " @@ -1222,7 +1223,7 @@ } continue; } - struct buffer_head *bh1 = get_bhead(); + bh1 = get_bhead(); /* dupe the bufferhead and update what's different */ memcpy(bh1, bh, sizeof(*bh)); bh1->b_end_io = &end_io; /* return to us */