diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2011-03-11 15:06:13 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2011-03-11 15:06:13 +0000 |
commit | 2feb2a66fddc205363ea87224580c12c1a58cf59 (patch) | |
tree | 80711f151639f0dde03fa3dfc478b09ab20eb590 /lib/cache/lvmcache.c | |
parent | 84f48499a3213f425f3d96e45cf7a80071f3022c (diff) | |
download | lvm2-2feb2a66fddc205363ea87224580c12c1a58cf59.tar.gz lvm2-2feb2a66fddc205363ea87224580c12c1a58cf59.tar.xz lvm2-2feb2a66fddc205363ea87224580c12c1a58cf59.zip |
Call destroy_instance for any PVs found in VG structure during vg_free call.
This is necessary for proper format instance ref_count support. We iterate
over vg->pvs and vg->removed_pvs list and the ref_count is decremented and
then it is destroyed if not referenced anymore.
Diffstat (limited to 'lib/cache/lvmcache.c')
0 files changed, 0 insertions, 0 deletions