summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-06-08 16:38:37 -0500
committerDavid Teigland <teigland@redhat.com>2016-06-08 16:38:37 -0500
commit3a41ade6c6784133603a13679e8597c68c0eb431 (patch)
tree1fb5b53b0439b89c72bac9b5861d3c962531a770
parent18ec67718fc1d6d4f249a00f8b1ae99582286ae3 (diff)
downloadlvm2-dev-dct-lvmetad-vg-update-2.tar.gz
clean up lvmetad_pvscan_vgdev-dct-lvmetad-vg-update-2
given change to lvmetad_vg_update
-rw-r--r--lib/cache/lvmetad.c7
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);
}