Ignore:
Timestamp:
2012-04-11T18:48:28Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7eb033ce
Parents:
01b0262
Message:

missing functions

File:
1 edited

Legend:

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

    r01b0262 r81ee87cd  
    169169}
    170170
     171void ext4_block_group_set_flags(ext4_block_group_t *bg, uint16_t flags)
     172{
     173        bg->flags = host2uint16_t_le(flags);
     174}
     175
    171176uint32_t ext4_block_group_get_itable_unused(ext4_block_group_t *bg,
    172177                ext4_superblock_t *sb)
     
    208213        return false;
    209214}
     215
     216void ext4_block_group_clear_flag(ext4_block_group_t *bg, uint32_t clear_flag)
     217{
     218        uint32_t flags = ext4_block_group_get_flags(bg);
     219        flags = flags & (~clear_flag);
     220        ext4_block_group_set_flags(bg, flags);
     221}
     222
    210223
    211224/**
Note: See TracChangeset for help on using the changeset viewer.