md: change ITERATE_RDEV to rdev_for_each
[linux-2.6.git] / drivers / md / raid10.c
index d6f1288..017f581 100644 (file)
@@ -2026,7 +2026,7 @@ static int run(mddev_t *mddev)
                goto out_free_conf;
        }
 
-       ITERATE_RDEV(mddev, rdev, tmp) {
+       rdev_for_each(rdev, tmp, mddev) {
                disk_idx = rdev->raid_disk;
                if (disk_idx >= mddev->raid_disks
                    || disk_idx < 0)