summaryrefslogtreecommitdiff
path: root/lib/ext2fs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2006-11-30 14:48:48 -0500
committerTheodore Ts'o <tytso@mit.edu>2006-11-30 14:48:48 -0500
commitd2a3bf2ccc2df5167289e9fc084fec3cea78c950 (patch)
tree3abeb35439a9862ca31a70fc635ebb71cefd82ea /lib/ext2fs
parent017a76ee39356ecb13911d666a152f2a4856cbbb (diff)
downloade2fsprogs-d2a3bf2ccc2df5167289e9fc084fec3cea78c950.tar.gz
Fix (as yet unused) struct ext4_group_desc to add a missing bg_pad field
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs')
-rw-r--r--lib/ext2fs/ChangeLog5
-rw-r--r--lib/ext2fs/ext2_fs.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog
index f8315447..2bbcd73d 100644
--- a/lib/ext2fs/ChangeLog
+++ b/lib/ext2fs/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-30 Theodore Tso <tytso@mit.edu>
+
+ * ext2_fs.h (struct ext4_group_desc): Fix missing bg_pad which
+ made the structure too small.
+
2006-11-14 Theodore Tso <tytso@mit.edu>
* namei.c (open_namei): Rename internal variable basename to
diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h
index 0203636c..354ed1d8 100644
--- a/lib/ext2fs/ext2_fs.h
+++ b/lib/ext2fs/ext2_fs.h
@@ -167,6 +167,7 @@ struct ext4_group_desc
__u16 bg_free_blocks_count_hi;/* Free blocks count MSB */
__u16 bg_free_inodes_count_hi;/* Free inodes count MSB */
__u16 bg_used_dirs_count_hi; /* Directories count MSB */
+ __u16 bg_pad;
__u32 bg_reserved2[3];
};