diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-08-10 20:25:29 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-08-10 20:25:29 +0000 |
commit | 077a6755ff2ac55c334870fb47d18fb397904dc3 (patch) | |
tree | 07d328232a75d6df52bf13332d2e3b64c018aa0e /tools/pvcreate.c | |
parent | 789f9c55e5a526ee3ded3f95bfce3ce836bc3dd2 (diff) | |
download | lvm2-077a6755ff2ac55c334870fb47d18fb397904dc3.tar.gz |
Replace free_vg with release_vg
Move the free_vg() to vg.c and replace free_vg with release_vg
and make the _free_vg internal.
Patch is needed for sharing VG in vginfo cache so the release_vg function name
is a better fit here.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r-- | tools/pvcreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c index 0108d775e..7b50f70c6 100644 --- a/tools/pvcreate.c +++ b/tools/pvcreate.c @@ -74,7 +74,7 @@ static int pvcreate_restore_params_validate(struct cmd_context *cmd, pp->pe_start = pv_pe_start(existing_pvl->pv); pp->extent_size = pv_pe_size(existing_pvl->pv); pp->extent_count = pv_pe_count(existing_pvl->pv); - free_vg(vg); + release_vg(vg); } if (arg_sign_value(cmd, physicalvolumesize_ARG, 0) == SIGN_MINUS) { |