Kill.c (mdadm-4.1) | : | Kill.c (mdadm-4.2) | ||
---|---|---|---|---|
skipping to change at line 122 | skipping to change at line 122 | |||
if (verbose >= 0) | if (verbose >= 0) | |||
pr_err("Subarray-%s still active, aborting\n", | pr_err("Subarray-%s still active, aborting\n", | |||
subarray); | subarray); | |||
goto free_super; | goto free_super; | |||
} | } | |||
if (mdmon_running(st->devnm)) | if (mdmon_running(st->devnm)) | |||
st->update_tail = &st->updates; | st->update_tail = &st->updates; | |||
/* ok we've found our victim, drop the axe */ | /* ok we've found our victim, drop the axe */ | |||
rv = st->ss->kill_subarray(st); | rv = st->ss->kill_subarray(st, subarray); | |||
if (rv) { | if (rv) { | |||
if (verbose >= 0) | if (verbose >= 0) | |||
pr_err("Failed to delete subarray-%s from %s\n", | pr_err("Failed to delete subarray-%s from %s\n", | |||
subarray, dev); | subarray, dev); | |||
goto free_super; | goto free_super; | |||
} | } | |||
/* FIXME these routines do not report success/failure */ | /* FIXME these routines do not report success/failure */ | |||
if (st->update_tail) | if (st->update_tail) | |||
flush_metadata_updates(st); | flush_metadata_updates(st); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |