From 3a41ade6c6784133603a13679e8597c68c0eb431 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 8 Jun 2016 16:38:37 -0500 Subject: clean up lvmetad_pvscan_vg given change to lvmetad_vg_update --- lib/cache/lvmetad.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c index 37442d997..7cd3fac50 100644 --- a/lib/cache/lvmetad.c +++ b/lib/cache/lvmetad.c @@ -1864,20 +1864,13 @@ static struct volume_group *lvmetad_pvscan_vg(struct cmd_context *cmd, struct vo } /* - * FIXME: lvmetad_vg_update_finish does not use - * cft_precommitted any more... * Update lvmetad with the newly read version of the VG. - * The "precommitted" name is a misnomer in this case, - * but that is the field which lvmetad_vg_update() uses - * to send the metadata cft to lvmetad. */ if (save_seqno != vg->seqno) { log_debug_lvmetad("Update lvmetad from seqno %u to seqno %u for VG %s", vg->seqno, save_seqno, vg->name); - vg_ret->cft_precommitted = vgmeta_ret; if (!lvmetad_vg_update_finish(vg_ret)) log_error("Failed to update lvmetad with new VG meta"); - vg_ret->cft_precommitted = NULL; } dm_config_destroy(vgmeta_ret); } -- cgit v1.2.1