Changeset b5501d0 in mainline


Ignore:
Timestamp:
2011-09-06T18:59:28Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e0427e8
Parents:
a4726cb
Message:

Fix inode allocation

File:
1 edited

Legend:

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

    ra4726cb rb5501d0  
    5656{
    5757        int r = mfs_alloc_bit(inst, inum, BMAP_INODE);
    58 
    59         *inum += 1;
    6058        return r;
    6159}
     
    7169mfs_free_inode(struct mfs_instance *inst, uint32_t inum)
    7270{
    73         return mfs_free_bit(inst, inum - 1, BMAP_INODE);
     71        return mfs_free_bit(inst, inum, BMAP_INODE);
    7472}
    7573
Note: See TracChangeset for help on using the changeset viewer.