]> Zhao Yanbai Git Server - minix.git/commitdiff
When installing in a free partition larger than the maximum, don't align
authorBen Gras <ben@minix3.org>
Thu, 13 Jul 2006 12:43:47 +0000 (12:43 +0000)
committerBen Gras <ben@minix3.org>
Thu, 13 Jul 2006 12:43:47 +0000 (12:43 +0000)
on cylinder boundary.

commands/ibm/autopart.c

index 04e329a9e138e528beb44942d792e10debdf4912..96596c3c1a3fe26e97c0031a8ccf3c9493624def 100755 (executable)
@@ -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;