1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +03:00

s/log_verbose/log_error/ - Increase log level on error message.

This commit is contained in:
Jonathan Earl Brassow 2011-01-11 17:21:01 +00:00
parent d67ac7ed5c
commit 92c39fea53

View 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 {