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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user