]> sourceware.org Git - lvm2.git/commit
metadata: format_text: also count with calculated mda size of 0
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 30 Oct 2015 11:02:29 +0000 (12:02 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 30 Oct 2015 11:02:34 +0000 (12:02 +0100)
commitccfc09f79b8d7ba15798a2b6f76545bb7fa3681e
treea4b6dee5895c794b78a56010dce4ef188e04f67e
parent9a3b64e81ad1988f4143b5a4b4ac06eaf3035e58
metadata: format_text: also count with calculated mda size of 0

When checking minimum mda size, make sure the mda_size after alignment
and calculation is more than 0 - if there's no place for an MDA at the
end of the disk, the _text_pv_add_metadata_area does not try to add it
there and it returns (because we already have the MDA at the start of
the disk at least).
lib/format_text/format-text.c
This page took 0.040638 seconds and 5 git commands to generate.