1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

mirror: use vg mempool

Use vg mempool with mirror log metadata update.
This commit is contained in:
Zdenek Kabelac 2018-03-29 23:12:57 +02:00
parent 05f954ee9b
commit d81e3f9b06

View File

@ -341,7 +341,7 @@ static int _init_mirror_log(struct cmd_context *cmd,
/* Temporary tag mirror log for activation */
dm_list_iterate_items(sl, tagsl)
if (!str_list_add(cmd->mem, &log_lv->tags, sl->str)) {
if (!str_list_add(log_lv->vg->vgmem, &log_lv->tags, sl->str)) {
log_error("Aborting. Unable to tag mirror log.");
return 0;
}