Changeset 106743d in mainline


Ignore:
Timestamp:
2011-04-03T12:42:27Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
586f123
Parents:
f3e2663
Message:

Fix bug in alloc_bit() function, wrong parameter passed to block_get()

File:
1 edited

Legend:

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

    rf3e2663 r106743d  
    9494
    9595        for (i = *search / bits_per_block; i < nblocks; ++i) {
    96                 r = block_get(&b, inst->handle, i, BLOCK_FLAGS_NONE);
     96                r = block_get(&b, inst->handle, i + start_block,
     97                                BLOCK_FLAGS_NONE);
    9798
    9899                if (r != EOK)
Note: See TracChangeset for help on using the changeset viewer.