From: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Signed-off-by: heinzm <heinzm@xxxxxxxxxx> --- drivers/md/md.c | 8 ++++---- drivers/md/raid10.c | 2 +- drivers/md/raid5.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 37f1323306aa..b68b6d9dd8b6 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -8818,7 +8818,7 @@ void md_do_sync(struct md_thread *thread) mddev->curr_resync = MD_RESYNC_DELAYED; - try_again: +try_again: if (test_bit(MD_RECOVERY_INTR, &mddev->recovery)) goto skip; spin_lock(&all_mddevs_lock); @@ -9033,7 +9033,7 @@ void md_do_sync(struct md_thread *thread) continue; last_check = io_sectors; - repeat: +repeat: if (time_after_eq(jiffies, mark[last_mark] + SYNC_MARK_STEP)) { /* step marks */ int next = (last_mark+1) % SYNC_MARKS; @@ -9476,7 +9476,7 @@ void md_check_recovery(struct mddev *mddev) queue_work(md_misc_wq, &mddev->del_work); goto unlock; } - not_running: +not_running: if (!mddev->sync_thread) { clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); wake_up(&resync_wait); @@ -9485,7 +9485,7 @@ void md_check_recovery(struct mddev *mddev) if (mddev->sysfs_action) sysfs_notify_dirent_safe(mddev->sysfs_action); } - unlock: +unlock: wake_up(&mddev->sb_wait); mddev_unlock(mddev); } diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 7ab011cdb995..a95609d5e79c 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -5194,7 +5194,7 @@ static int handle_reshape_read_error(struct mddev *mddev, rcu_read_lock(); if (success) break; - failed: +failed: slot++; if (slot >= conf->copies) slot = 0; diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index a7b37a4e3f66..a1da82a72553 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -5864,7 +5864,7 @@ static void make_discard_request(struct mddev *mddev, struct bio *bi) logical_sector += RAID5_STRIPE_SECTORS(conf)) { DEFINE_WAIT(w); int d; - again: +again: sh = raid5_get_active_stripe(conf, NULL, logical_sector, 0); prepare_to_wait(&conf->wait_for_overlap, &w, TASK_UNINTERRUPTIBLE); -- 2.39.2