Changeset 6dd7f65 in mainline for uspace/lib/ext4/libext4_superblock.h


Ignore:
Timestamp:
2015-04-15T20:14:27Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
447201e
Parents:
749fe15b
Message:

libext4: add missing parts that will be needed to support flexible block groups

  • Add function to read the superblock's fields "backup_bgs" (SUPER_SPARSE2).
  • Add function to get the number of reserved GDT blocks.
  • Drop the "s_" prefix from some superblock's fields.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_superblock.h

    r749fe15b r6dd7f65  
    135135extern void ext4_superblock_set_flags(ext4_superblock_t *, uint32_t);
    136136
     137extern void ext4_superblock_get_backup_groups_sparse2(ext4_superblock_t *sb,
     138    uint32_t *g1, uint32_t *g2);
     139extern void ext4_superblock_set_backup_groups_sparse2(ext4_superblock_t *sb,
     140    uint32_t g1, uint32_t g2);
     141
     142extern uint32_t ext4_superblock_get_reserved_gdt_blocks(ext4_superblock_t *sb);
     143extern void ext4_superblock_set_reserved_gdt_blocks(ext4_superblock_t *sb,
     144    uint32_t n);
     145
    137146/* More complex superblock functions */
    138147extern bool ext4_superblock_has_flag(ext4_superblock_t *, uint32_t);
Note: See TracChangeset for help on using the changeset viewer.