DDF: remove old comment about looking for spares.

As handle_missing() sets ->check_degraded, nothing else needs to be
done here.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2014-05-21 13:10:03 +10:00
parent 733eedc8f2
commit 30da0fa89b
1 changed files with 0 additions and 1 deletions

View File

@ -4218,7 +4218,6 @@ static int ddf_set_array_state(struct active_array *a, int consistent)
int old = ddf->virt->entries[inst].state;
if (consistent == 2) {
handle_missing(ddf, a, inst);
/* Should check if a recovery should be started FIXME */
consistent = 1;
if (!is_resync_complete(&a->info))
consistent = 0;