When installing in a free partition larger than the maximum, don't align

on cylinder boundary.
This commit is contained in:
Ben Gras 2006-07-13 12:43:47 +00:00
parent b52a516521
commit 2d79ae7831

View file

@ -2502,7 +2502,6 @@ scribble_region(region_t *reg, struct part_entry **pe, int *made_new)
reg->used_part.size = MAX_REGION_SECTORS;
trunc = 1;
changed = 1;
cylinderalign(reg);
}
if(!reg->is_used_part) {
ex = reg->free_sec_last - reg->free_sec_start + 1;