From fa6a43d82adf783a3e133b8811f71f366a288735 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Wed, 5 Nov 2014 16:18:03 +0100 Subject: [PATCH] lvm: remove duplicate call to lvm_submit() This got added by accident when solving the merge conflict in 103f05e0. It led to the plugin triggering the classical "uc_update: Value too old" error message. --- src/lvm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lvm.c b/src/lvm.c index 82d7f6fe..9e245423 100644 --- a/src/lvm.c +++ b/src/lvm.c @@ -124,10 +124,6 @@ static void vg_read(vg_t vg, char const *vg_name) return; } - dm_list_iterate_items(lvl, lvs) { - lvm_submit(vg_name, lvm_lv_get_name(lvl->lv), lvm_lv_get_size(lvl->lv)); - } - dm_list_iterate_items(lvl, lvs) { name = lvm_lv_get_name(lvl->lv); attrs = get_lv_property_string(lvl->lv, "lv_attr"); -- 2.30.2