]> sourceware.org Git - lvm2.git/commitdiff
Do not log backtrace in valid _lv_resume() code path
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 8 Jul 2010 12:24:04 +0000 (12:24 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 8 Jul 2010 12:24:04 +0000 (12:24 +0000)
WHATS_NEW
lib/activate/activate.c

index b384bf30d6403d76aaf9cb8dc04fdff85a289115..2a9fe62e8472d9ee552dfe925d922080fadc6974 100644 (file)
--- 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.
index 2128c4198f733c94e1b97e69780e89a32431a007..7edd72872edf0d9e96b2bb4e7651e00bf83a3e32 100644 (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))
This page took 0.043817 seconds and 5 git commands to generate.