diff --git a/[refs] b/[refs] index 49257c530bc0..fcecd9198cf1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8299d7f7c067a30a67ad359d416128c4ff57dcd1 +refs/heads/master: 2b12ab6d33f413aabb623197eeecaad5c216e6ae diff --git a/trunk/drivers/md/md.c b/trunk/drivers/md/md.c index f173ace1f8fb..510625e3a965 100644 --- a/trunk/drivers/md/md.c +++ b/trunk/drivers/md/md.c @@ -2714,7 +2714,7 @@ action_show(mddev_t *mddev, char *page) { char *type = "idle"; if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || - test_bit(MD_RECOVERY_NEEDED, &mddev->recovery)) { + (!mddev->ro && test_bit(MD_RECOVERY_NEEDED, &mddev->recovery))) { if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery)) type = "reshape"; else if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) {