diff options
author | pfg <pfg@FreeBSD.org> | 2013-06-03 18:52:14 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-06-03 18:52:14 +0000 |
commit | 94ecf498733547889392d4e2d850099fd1c9d53f (patch) | |
tree | c8bdb32cec3600ce3648b0d2e8e17170ef993b60 /sys/fs | |
parent | 033cb503683dfc2793491b9f0d3ae81b49088df7 (diff) | |
download | FreeBSD-src-94ecf498733547889392d4e2d850099fd1c9d53f.zip FreeBSD-src-94ecf498733547889392d4e2d850099fd1c9d53f.tar.gz |
ext2fs: Update Block Group Descriptor struct.
Uncover some, previously reserved, fields that are used by Ext4.
These are currently unused but it is good to have them for future
reference.
Reviewed by: bde
MFC after: 3 days
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/ext2fs/ext2fs.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/fs/ext2fs/ext2fs.h b/sys/fs/ext2fs/ext2fs.h index 225e058..361e61f 100644 --- a/sys/fs/ext2fs/ext2fs.h +++ b/sys/fs/ext2fs/ext2fs.h @@ -281,9 +281,13 @@ struct ext2_gd { uint32_t ext2bgd_i_tables; /* inodes table block */ uint16_t ext2bgd_nbfree; /* number of free blocks */ uint16_t ext2bgd_nifree; /* number of free inodes */ - uint16_t ext2bgd_ndirs; /* number of directories */ - uint16_t reserved; - uint32_t reserved2[3]; + uint16_t ext2bgd_ndirs; /* number of directories */ + uint16_t ext2bgd_flags; /* block group flags */ + uint32_t ext2bgd_x_bitmap; /* snapshot exclusion bitmap loc. */ + uint16_t ext2bgd_b_bmap_csum; /* block bitmap checksum */ + uint16_t ext2bgd_i_bmap_csum; /* inode bitmap checksum */ + uint16_t ext2bgd_i_unused; /* unused inode count */ + uint16_t ext2bgd_csum; /* group descriptor checksum */ }; /* cluster summary information */ |