Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/util-linux/mkfs_ext2.c

    r3232 r3621  
    117117    uint32_t i;
    118118
    119 //bb_info_msg("ALLOC: [%u][%u][%u]: [%u-%u]:=[%x],[%x]", blocksize, start, end, start/8, blocksize - end/8 - 1, (1 << (start & 7)) - 1, (uint8_t)(0xFF00 >> (end & 7)));
     119//bb_error_msg("ALLOC: [%u][%u][%u]: [%u-%u]:=[%x],[%x]", blocksize, start, end, start/8, blocksize - end/8 - 1, (1 << (start & 7)) - 1, (uint8_t)(0xFF00 >> (end & 7)));
    120120    memset(bitmap, 0, blocksize);
    121121    i = start / 8;
     
    152152static void PUT(uint64_t off, void *buf, uint32_t size)
    153153{
    154 //  bb_info_msg("PUT[%llu]:[%u]", off, size);
     154    //bb_error_msg("PUT[%llu]:[%u]", off, size);
    155155    xlseek(fd, off, SEEK_SET);
    156156    xwrite(fd, buf, size);
     
    413413        // transition (at 16M).
    414414        if (remainder && (remainder < overhead + 50)) {
    415 //bb_info_msg("CHOP[%u]", remainder);
     415//bb_error_msg("CHOP[%u]", remainder);
    416416            nblocks -= remainder;
    417417            goto retry;
     
    569569
    570570        // mark preallocated blocks as allocated
    571 //bb_info_msg("ALLOC: [%u][%u][%u]", blocksize, overhead, blocks_per_group - (free_blocks + overhead));
     571//bb_error_msg("ALLOC: [%u][%u][%u]", blocksize, overhead, blocks_per_group - (free_blocks + overhead));
    572572        allocate(buf, blocksize,
    573573            // reserve "overhead" blocks
     
    648648    for (i = 0; i < lost_and_found_blocks; ++i)
    649649        STORE_LE(inode->i_block[i], i + n); // use next block
    650 //bb_info_msg("LAST BLOCK USED[%u]", i + n);
     650//bb_error_msg("LAST BLOCK USED[%u]", i + n);
    651651    PUT(((uint64_t)FETCH_LE32(gd[0].bg_inode_table) * blocksize) + (EXT2_GOOD_OLD_FIRST_INO-1) * inodesize,
    652652                buf, inodesize);
Note: See TracChangeset for help on using the changeset viewer.