diff options
Diffstat (limited to 'include/bb_e2fs_defs.h')
-rw-r--r-- | include/bb_e2fs_defs.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/bb_e2fs_defs.h b/include/bb_e2fs_defs.h index 7974497ca..3edff8377 100644 --- a/include/bb_e2fs_defs.h +++ b/include/bb_e2fs_defs.h | |||
@@ -422,9 +422,27 @@ struct ext2_super_block { | |||
422 | uint16_t s_reserved_word_pad; | 422 | uint16_t s_reserved_word_pad; |
423 | uint32_t s_default_mount_opts; | 423 | uint32_t s_default_mount_opts; |
424 | uint32_t s_first_meta_bg; /* First metablock group */ | 424 | uint32_t s_first_meta_bg; /* First metablock group */ |
425 | /* ext3 additions */ | ||
425 | uint32_t s_mkfs_time; /* When the filesystem was created */ | 426 | uint32_t s_mkfs_time; /* When the filesystem was created */ |
426 | uint32_t s_jnl_blocks[17]; /* Backup of the journal inode */ | 427 | uint32_t s_jnl_blocks[17]; /* Backup of the journal inode */ |
427 | uint32_t s_reserved[172]; /* Padding to the end of the block */ | 428 | /* 64bit support valid if EXT4_FEATURE_COMPAT_64BIT */ |
429 | /*150*/ uint32_t s_blocks_count_hi; /* Blocks count */ | ||
430 | uint32_t s_r_blocks_count_hi; /* Reserved blocks count */ | ||
431 | uint32_t s_free_blocks_count_hi; /* Free blocks count */ | ||
432 | uint16_t s_min_extra_isize; /* All inodes have at least # bytes */ | ||
433 | uint16_t s_want_extra_isize; /* New inodes should reserve # bytes */ | ||
434 | uint32_t s_flags; /* Miscellaneous flags */ | ||
435 | uint16_t s_raid_stride; /* RAID stride */ | ||
436 | uint16_t s_mmp_interval; /* # seconds to wait in MMP checking */ | ||
437 | uint64_t s_mmp_block; /* Block for multi-mount protection */ | ||
438 | uint32_t s_raid_stripe_width; /* blocks on all data disks (N*stride)*/ | ||
439 | uint8_t s_log_groups_per_flex; /* FLEX_BG group size */ | ||
440 | uint8_t s_reserved_char_pad2; | ||
441 | uint16_t s_reserved_pad; | ||
442 | uint32_t s_reserved[162]; /* Padding to the end of the block */ | ||
443 | }; | ||
444 | struct BUG_ext2_super_block { | ||
445 | char bug[sizeof(struct ext2_super_block) == 1024 ? 1 : -1]; | ||
428 | }; | 446 | }; |
429 | 447 | ||
430 | /* | 448 | /* |