mirror of https://github.com/vitalif/e2fsprogs
libext2fs: Define bg_itable_unused_hi in the ext4_group_desc structure
Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
parent
6eae5ff87a
commit
3c4d4d7459
|
@ -149,6 +149,9 @@ struct ext2_group_desc
|
||||||
__u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/
|
__u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Structure of a blocks group descriptor
|
||||||
|
*/
|
||||||
struct ext4_group_desc
|
struct ext4_group_desc
|
||||||
{
|
{
|
||||||
__u32 bg_block_bitmap; /* Blocks bitmap block */
|
__u32 bg_block_bitmap; /* Blocks bitmap block */
|
||||||
|
@ -157,17 +160,17 @@ struct ext4_group_desc
|
||||||
__u16 bg_free_blocks_count; /* Free blocks count */
|
__u16 bg_free_blocks_count; /* Free blocks count */
|
||||||
__u16 bg_free_inodes_count; /* Free inodes count */
|
__u16 bg_free_inodes_count; /* Free inodes count */
|
||||||
__u16 bg_used_dirs_count; /* Directories count */
|
__u16 bg_used_dirs_count; /* Directories count */
|
||||||
__u16 bg_flags;
|
__u16 bg_flags; /* EXT4_BG_flags (INODE_UNINIT, etc) */
|
||||||
__u32 bg_reserved[2];
|
__u32 bg_reserved[2]; /* Likely block/inode bitmap checksum */
|
||||||
__u16 bg_itable_unused; /* Unused inodes count */
|
__u16 bg_itable_unused; /* Unused inodes count */
|
||||||
__u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/
|
__u16 bg_checksum; /* crc16(sb_uuid+group+desc) */
|
||||||
__u32 bg_block_bitmap_hi; /* Blocks bitmap block MSB */
|
__u32 bg_block_bitmap_hi; /* Blocks bitmap block MSB */
|
||||||
__u32 bg_inode_bitmap_hi; /* Inodes bitmap block MSB */
|
__u32 bg_inode_bitmap_hi; /* Inodes bitmap block MSB */
|
||||||
__u32 bg_inode_table_hi; /* Inodes table block MSB */
|
__u32 bg_inode_table_hi; /* Inodes table block MSB */
|
||||||
__u16 bg_free_blocks_count_hi;/* Free blocks count MSB */
|
__u16 bg_free_blocks_count_hi;/* Free blocks count MSB */
|
||||||
__u16 bg_free_inodes_count_hi;/* Free inodes count MSB */
|
__u16 bg_free_inodes_count_hi;/* Free inodes count MSB */
|
||||||
__u16 bg_used_dirs_count_hi; /* Directories count MSB */
|
__u16 bg_used_dirs_count_hi; /* Directories count MSB */
|
||||||
__u16 bg_pad;
|
__u16 bg_itable_unused_hi; /* Unused inodes count MSB */
|
||||||
__u32 bg_reserved2[3];
|
__u32 bg_reserved2[3];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue