1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-09-08 13:44:19 +03:00

Remove incorrect error message added in 2.02.87.

This commit is contained in:
Alasdair Kergon
2011-08-19 22:55:07 +00:00
parent 2df01a9d3f
commit c31d14d786

View File

@@ -1706,10 +1706,8 @@ static int _find_some_parallel_space(struct alloc_handle *ah, const struct alloc
if ((alloc_parms->alloc == ALLOC_ANYWHERE && if ((alloc_parms->alloc == ALLOC_ANYWHERE &&
ix + ix_offset >= devices_needed + alloc_state->log_area_count_still_needed) || ix + ix_offset >= devices_needed + alloc_state->log_area_count_still_needed) ||
(preferred_count == ix_offset && (preferred_count == ix_offset &&
(ix_offset == devices_needed + alloc_state->log_area_count_still_needed))) { (ix_offset == devices_needed + alloc_state->log_area_count_still_needed)))
log_error("Breaking: preferred_count = %d, ix_offset = %d, devices_needed = %d", preferred_count, ix_offset, devices_needed);
break; break;
}
} }
} while ((alloc_parms->alloc == ALLOC_ANYWHERE && last_ix != ix && ix < devices_needed + alloc_state->log_area_count_still_needed) || } while ((alloc_parms->alloc == ALLOC_ANYWHERE && last_ix != ix && ix < devices_needed + alloc_state->log_area_count_still_needed) ||
/* With cling_to_alloced, if there were gaps in the preferred areas, have a second iteration */ /* With cling_to_alloced, if there were gaps in the preferred areas, have a second iteration */