diff options
-rw-r--r-- | lib/cache/lvmetad.c | 7 |
1 files changed, 0 insertions, 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); } |