]> sourceware.org Git - lvm2.git/commit
Fix free_vg order
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 30 Mar 2011 14:35:00 +0000 (14:35 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 30 Mar 2011 14:35:00 +0000 (14:35 +0000)
commit91d865cab579154787b37aaecfba92fe4485dcbd
tree9d0fe9deac882f5cb38bed5854bec853724ce60b
parente6609094f7776eac213ceab906347b5eba0b600a
Fix free_vg order

As now the FID management is more complex, the code inside free_vg needs
to access some parts of memory pools which were not needed before.

For this - makes the order of unlock_and_free_vg() unconditional.
Keek using unlock_and_free_vg() API function.

For properly working VG locking mechanism only the alphabeting locking
orderer needs to be preserved.

TODO: there could be few more code parts simplified when we 'officially'
support of referencies between different memory pools.
tools/vgmerge.c
tools/vgsplit.c
This page took 0.037142 seconds and 5 git commands to generate.