1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00

Do not log backtrace in valid _lv_resume() code path

This commit is contained in:
Zdenek Kabelac 2010-07-08 12:24:04 +00:00
parent f3953f9a15
commit 1e699db631
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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))