• NeilBrown's avatar
    md: remove unnecessary code from do_md_run · 7fb9dadc
    NeilBrown authored
    Since commit dfc70645,
    ->hot_remove_disks has not removed non-failed devices from
    an array until recovery is no longer possible.
    So the code in do_md_run to get around the fact that
    md_check_recovery (which calls ->hot_remove_disks) would
    remove partially-in-sync devices is no longer needed.
    
    So remove it.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    7fb9dadc
md.c 185 KB