----------- Diffstat output ------------ ./drivers/md/raid5.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- ./drivers/md/raid5.c 2002/08/30 02:56:35 1.1 +++ ./drivers/md/raid5.c 2002/08/30 05:20:51 1.2 @@ -937,7 +937,7 @@ static void handle_stripe(struct stripe_ for (i=disks; i--; ) if (sh->dev[i].written) { dev = &sh->dev[i]; - if (!test_bit(R5_Insync, &dev->flags) && + if (!test_bit(R5_Insync, &sh->dev[sh->pd_idx].flags) && (!test_bit(R5_LOCKED, &dev->flags) && test_bit(R5_UPTODATE, &dev->flags)) ) { /* maybe we can return some write requests */ struct bio *wbi, *wbi2; - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html