]> err.no Git - linux-2.6/commit
md: fix merge error
authorDan Williams <dan.j.williams@intel.com>
Thu, 24 Jul 2008 03:05:34 +0000 (20:05 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 23 Jul 2008 20:09:45 +0000 (13:09 -0700)
commit2339788376e2d69a9154130e4dacd5b21ce63094
treeed8f21a7a726472fd089365b8913f0e950edf12a
parentc9f21aaff1d1fb5629325130af469532d19beb93
md: fix merge error

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: Dan Williams <dan.j.williams@intel.com>
drivers/md/raid5.c