is_replacing_spare
if (is_replacing_spare(child[c], tgt, which))
is_replacing_spare(config_root, tgt, 1)) {