Changeset efa5fa1 in mainline


Ignore:
Timestamp:
2011-07-04T18:52:38Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
70ac0af
Parents:
2527b1d5
Message:

Fix bug in the bitmap code path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_balloc.c

    r2527b1d5 refa5fa1  
    5252
    5353        if (bid == BMAP_ZONE) {
     54                idx -= sbi->firstdatazone;
    5455                start_block = 2 + sbi->ibmap_blocks;
    5556                if (idx > sbi->nzones) {
     
    151152
    152153                *search = *idx;
     154
     155                if (bid == BMAP_ZONE)
     156                        *idx += sbi->firstdatazone;
     157
    153158                b->dirty = true;
    154159                r = block_put(b);
Note: See TracChangeset for help on using the changeset viewer.