Ignore:
Timestamp:
2011-11-07T11:50:31Z (14 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12b4a7f
Parents:
5664cf64
Message:

partially functional truncate operation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_block_group.c

    r5664cf64 r052e82d  
    6363}
    6464
     65void ext4_block_group_set_free_blocks_count(ext4_block_group_t *bg, uint32_t value) {
     66        bg->free_blocks_count_lo = host2uint16_t_le((value << 16) >> 16);
     67        bg->free_blocks_count_hi = host2uint16_t_le(value >> 16);
     68}
     69
    6570uint32_t ext4_block_group_get_free_inodes_count(ext4_block_group_t *bg)
    6671{
Note: See TracChangeset for help on using the changeset viewer.