mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Fix misleading error message when there is no allocatable extents in VG.
This commit is contained in:
parent
061fa9c4c5
commit
9352a2fdad
@ -1,5 +1,6 @@
|
||||
Version 2.02.41 -
|
||||
=====================================
|
||||
Fix misleading error message when there is no allocatable extents in VG.
|
||||
Fix handling of PVs which reappeared with old metadata version.
|
||||
Fix mirror DSO to call vgreduce with proper parameters.
|
||||
Fix validation of --minor and --major in lvcreate to require -My always.
|
||||
|
@ -1169,7 +1169,7 @@ static int _allocate(struct alloc_handle *ah,
|
||||
stack;
|
||||
|
||||
areas_size = list_size(pvms);
|
||||
if (areas_size < ah->area_count + ah->log_count) {
|
||||
if (areas_size && areas_size < (ah->area_count + ah->log_count)) {
|
||||
if (ah->alloc != ALLOC_ANYWHERE) {
|
||||
log_error("Not enough PVs with free space available "
|
||||
"for parallel allocation.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user