summaryrefslogtreecommitdiffstats
path: root/tools/vgconvert.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2008-06-24 20:10:32 +0000
committerDave Wysochanski <dwysocha@redhat.com>2008-06-24 20:10:32 +0000
commit15db00b53e8f2e136d3f3c0c7fc68fcc48ba0b06 (patch)
tree91277c0dfc323d87c64720a0150006c1d5594fa0 /tools/vgconvert.c
parent274788b4a5452460fb6c55b523d7d67c3eaff0b2 (diff)
downloadlvm2-15db00b53e8f2e136d3f3c0c7fc68fcc48ba0b06.tar.gz
lvm2-15db00b53e8f2e136d3f3c0c7fc68fcc48ba0b06.tar.xz
lvm2-15db00b53e8f2e136d3f3c0c7fc68fcc48ba0b06.zip
Refactor pv_create() to take cmd_context - no functional change.
Diffstat (limited to 'tools/vgconvert.c')
-rw-r--r--tools/vgconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgconvert.c b/tools/vgconvert.c
index 87036323..6c261f3a 100644
--- a/tools/vgconvert.c
+++ b/tools/vgconvert.c
@@ -112,7 +112,7 @@ static int vgconvert_single(struct cmd_context *cmd, const char *vg_name,
+ pe_start - 1;
list_init(&mdas);
- if (!(pv = pv_create(cmd->fmt, pv_dev(existing_pv),
+ if (!(pv = pv_create(cmd, pv_dev(existing_pv),
&existing_pv->id, size,
pe_start, pv_pe_count(existing_pv),
pv_pe_size(existing_pv), pvmetadatacopies,