]> sourceware.org Git - lvm2.git/commit
Fix log allocation segfault (fix previous commits).
authorMilan Broz <mbroz@redhat.com>
Mon, 1 Jun 2009 14:23:38 +0000 (14:23 +0000)
committerMilan Broz <mbroz@redhat.com>
Mon, 1 Jun 2009 14:23:38 +0000 (14:23 +0000)
commitde317b8e01c227dfbf50c66e736606383801dfd2
tree732c5f48f8ee77458642a98c56fd07de91f428bc
parent436cf945955f0ada6a197d3e58e15fc58a7e9eb7
Fix log allocation segfault (fix previous commits).

If there is no free area for log, code should break the loop.
(Otherwise it uses uninitializes areas later.)

Easily reproducible using lvconvert --repair
 - kill device with log
 - run lvconvert --repair vg/lv (with no PV usable for log)
lib/metadata/lv_manip.c
This page took 0.027201 seconds and 5 git commands to generate.