Version 2.02.73 -
================================
- Fix constness warning in archive_file structure from archive.c.
+ Fix const warning in dev_manager_info() and _dev_manager_lv_rmnodes().
+ Fix const warning in archive_file structure from archive.c.
Clean generated files .exported_symbols_generated, example.conf for distclean.
Handle failure of all mirrored log devices and all but one mirror leg.
Disallow 'mirrored' log type for cluster mirrors.
int with_open_count, int with_read_ahead,
struct dm_info *info, uint32_t *read_ahead)
{
- const char *dlid, *name;
+ char *dlid, *name;
int r;
if (!(name = build_dm_name(mem, lv->vg->name, lv->name, NULL))) {
log_debug("Getting device info for %s [%s]", name, dlid);
r = _info(dlid, with_open_count, with_read_ahead, info, read_ahead);
- dm_pool_free(mem, (char*)name);
+ dm_pool_free(mem, name);
return r;
}
int dev_manager_mknodes(const struct logical_volume *lv)
{
struct dm_info dminfo;
- const char *name;
+ char *name;
int r = 0;
if (!(name = build_dm_name(lv->vg->cmd->mem, lv->vg->name, lv->name, NULL)))
r = _dev_manager_lv_rmnodes(lv);
}
- dm_pool_free(lv->vg->cmd->mem, (char*)name);
+ dm_pool_free(lv->vg->cmd->mem, name);
return r;
}