mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
mirror: use vg mempool
Use vg mempool with mirror log metadata update.
This commit is contained in:
parent
05f954ee9b
commit
d81e3f9b06
@ -341,7 +341,7 @@ static int _init_mirror_log(struct cmd_context *cmd,
|
|||||||
|
|
||||||
/* Temporary tag mirror log for activation */
|
/* Temporary tag mirror log for activation */
|
||||||
dm_list_iterate_items(sl, tagsl)
|
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.");
|
log_error("Aborting. Unable to tag mirror log.");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user