]> 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)
commit59d06d4dc76965911d7273e9cab022b414c47b00
tree732c5f48f8ee77458642a98c56fd07de91f428bc
parentc1fdeec999a427d3b49713901f5b6bf9a2aee00d
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.03647 seconds and 5 git commands to generate.