From d81e3f9b067f9eb44122a8637966bfa838716135 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 29 Mar 2018 23:12:57 +0200 Subject: [PATCH] mirror: use vg mempool Use vg mempool with mirror log metadata update. --- lib/metadata/mirror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/mirror.c b/lib/metadata/mirror.c index e09103d72..8fcf94e08 100644 --- a/lib/metadata/mirror.c +++ b/lib/metadata/mirror.c @@ -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; }