mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
debug: drop some unneeded backtraces
This commit is contained in:
parent
44aeb6d6b8
commit
88faf5a53b
@ -1098,13 +1098,13 @@ struct dm_config_tree *export_vg_to_config_tree(struct volume_group *vg)
|
||||
|
||||
if (!export_vg_to_buffer(vg, &buf)) {
|
||||
log_error("Could not format metadata for VG %s.", vg->name);
|
||||
return_NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!(vg_cft = config_tree_from_string_without_dup_node_check(buf))) {
|
||||
log_error("Error parsing metadata for VG %s.", vg->name);
|
||||
free(buf);
|
||||
return_NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
free(buf);
|
||||
|
@ -567,7 +567,7 @@ static struct volume_group *_vg_read_raw_area(struct format_instance *fid,
|
||||
|
||||
if (!(mdah = raw_read_mda_header(fid->fmt, area, primary_mda))) {
|
||||
log_error("Failed to read vg %s from %s", vgname, dev_name(area->dev));
|
||||
goto_out;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!(rlocn = _read_metadata_location_vg(area, mdah, primary_mda, vgname, &precommitted))) {
|
||||
|
@ -4680,7 +4680,7 @@ static uint64_t *_stats_map_file_regions(struct dm_stats *dms, int fd,
|
||||
/* make space for end-of-table marker */
|
||||
if (!(regions = dm_malloc((1 + *count) * sizeof(*regions)))) {
|
||||
log_error("Could not allocate memory for region IDs.");
|
||||
goto_out;
|
||||
goto out;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -4235,7 +4235,7 @@ static int _lvconvert_cache_attach_single(struct cmd_context *cmd,
|
||||
|
||||
} else {
|
||||
log_error(INTERNAL_ERROR "Invalid cache pool state for %s", cachepool_lv->name);
|
||||
goto_out;
|
||||
goto out;
|
||||
}
|
||||
|
||||
log_print_unless_silent("Logical volume %s is now cached.", display_lvname(lv));
|
||||
|
Loading…
Reference in New Issue
Block a user