1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-02 04:22:02 +03:00

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.
This commit is contained in:
Zdenek Kabelac
2011-08-10 20:25:29 +00:00
parent 789f9c55e5
commit 077a6755ff
34 changed files with 151 additions and 144 deletions

View File

@ -156,7 +156,7 @@ static struct volume_group *_pool_vg_read(struct format_instance *fid,
return vg;
bad:
free_vg(vg);
release_vg(vg);
return NULL;
}