]> sourceware.org Git - lvm2.git/commitdiff
s/log_verbose/log_error/ - Increase log level on error message.
authorJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 11 Jan 2011 17:21:01 +0000 (17:21 +0000)
committerJonathan Earl Brassow <jbrassow@redhat.com>
Tue, 11 Jan 2011 17:21:01 +0000 (17:21 +0000)
lib/metadata/mirror.c

index a45bfe6cb24912ee2fa3abff6b07cdfe94aa7374..f4d3a10b21578ea42eb12985d31646eeb9270e9d 100644 (file)
@@ -1325,10 +1325,9 @@ static int _create_mimage_lvs(struct alloc_handle *ah,
                        first_area = m * stripes + (log - 1);
 
                        if (!lv_add_log_segment(ah, first_area, img_lvs[m], 0)) {
-                               /* error msg already from lv_add_log_segment */
-                               log_verbose("Failed to add mirror image segment"
-                                           " to %s. Remove new LV and retry.",
-                                           img_lvs[m]->name);
+                               log_error("Failed to add mirror image segment"
+                                         " to %s. Remove new LV and retry.",
+                                         img_lvs[m]->name);
                                return 0;
                        }
                } else {
This page took 0.038628 seconds and 5 git commands to generate.