diff --git a/WHATS_NEW b/WHATS_NEW index b384bf30d..2a9fe62e8 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,7 @@ Version 2.02.71 - =============================== + Do not log backtrace in valid _lv_resume() code path. + Cleanup help strings in configure.in. Prompt if metadataignore with vgextend or pvchange would adjust vg_mda_copies. Adjust vg_mda_copies if metadataignore given with vgextend or pvchange. Adjust auto-metadata repair and caching logic to try to cope with empty mdas. diff --git a/lib/activate/activate.c b/lib/activate/activate.c index 2128c4198..7edd72872 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -961,8 +961,10 @@ static int _lv_resume(struct cmd_context *cmd, const char *lvid_s, goto_out; if (!info.exists || !info.suspended) { - r = error_if_not_active ? 0 : 1; - goto_out; + if (error_if_not_active) + goto_out; + r = 1; + goto out; } if (!_lv_activate_lv(lv))