summaryrefslogtreecommitdiff
path: root/tools/vgcfgbackup.c
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-11-28 15:04:25 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2015-02-10 16:05:29 +0100
commit56011918e66adf1f639436fd6781a89ad61eb8f4 (patch)
tree632a56c09f6e2d366b73f870ccd2873ea3ce8c96 /tools/vgcfgbackup.c
parenta91bc7a19b8f439fa1d21101ad5c11d72413d4c0 (diff)
downloadlvm2-56011918e66adf1f639436fd6781a89ad61eb8f4.tar.gz
toollib: initialize handles (including reporting for selection) for _select_match_* used in process_each_* fns
Call _init_processing_handle, _init_selection_handle and _destroy_processing_handle in process_each_* and related functions to set up and destroy handles used while processing items.
Diffstat (limited to 'tools/vgcfgbackup.c')
-rw-r--r--tools/vgcfgbackup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/vgcfgbackup.c b/tools/vgcfgbackup.c
index ee65f180c..0a6c5f257 100644
--- a/tools/vgcfgbackup.c
+++ b/tools/vgcfgbackup.c
@@ -96,5 +96,6 @@ int vgcfgbackup(struct cmd_context *cmd, int argc, char **argv)
init_pvmove(0);
+ destroy_processing_handle(cmd, &handle, 0);
return ret;
}