Ignore:
Timestamp:
2011-03-09T21:59:30Z (14 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c3f95d8
Parents:
66bea243
Message:

Basic sketch of code for allocating blocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext2/libext2_block_group.c

    r66bea243 rf8c60f5  
    7979
    8080/**
     81 * Set amount of free blocks in this block group
     82 *
     83 * @param bg pointer to block group descriptor
     84 * @param val new value
     85 */
     86inline void ext2_block_group_set_free_block_count(ext2_block_group_t *bg,
     87        uint16_t val)
     88{
     89        bg->free_block_count = host2uint16_t_le(val);
     90}
     91
     92/**
    8193 * Get amount of free inodes in this block group
    8294 *
Note: See TracChangeset for help on using the changeset viewer.