• D
    md: fix merge error · 23397883
    Dan Williams 提交于
    The original STRIPE_OP_IO removal patch had the following hunk:
    
    -               for (i = conf->raid_disks; i--; ) {
    +               for (i = conf->raid_disks; i--; )
                            set_bit(R5_Wantwrite, &sh->dev[i].flags);
    -                       if (!test_and_set_bit(STRIPE_OP_IO, &sh->ops.pending))
    -                               sh->ops.count++;
    -               }
    
    However it appears the hunk became broken after merging:
    -               for (i = conf->raid_disks; i--; ) {
    +               for (i = conf->raid_disks; i--; )
                            set_bit(R5_Wantwrite, &sh->dev[i].flags);
                            set_bit(R5_LOCKED, &dev->flags);
                            s.locked++;
    -                       if (!test_and_set_bit(STRIPE_OP_IO, &sh->ops.pending))
    -                               sh->ops.count++;
    -               }
    Signed-off-by: NDan Williams <dan.j.williams@intel.com>
    23397883
raid5.c 131.3 KB