summaryrefslogtreecommitdiff
path: root/ext2fs/hyper.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-13 18:48:12 +0000
committerMiles Bader <miles@gnu.org>1995-04-13 18:48:12 +0000
commit290371b28e50a895bfba0fe68fd7d6e284e2da12 (patch)
treea6778fde412de19ecce730d2585a8169243cd704 /ext2fs/hyper.c
parentb5575abd8031f5c6508c9327b0da9f6f5fb0e307 (diff)
Formerly hyper.c.~4~
Diffstat (limited to 'ext2fs/hyper.c')
-rw-r--r--ext2fs/hyper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext2fs/hyper.c b/ext2fs/hyper.c
index fa7936ae..75c68551 100644
--- a/ext2fs/hyper.c
+++ b/ext2fs/hyper.c
@@ -88,6 +88,7 @@ get_hypermetadata (void)
itb_per_group = sblock->inodes_per_group / inodes_per_block;
desc_per_block = block_size / sizeof (struct ext2_group_desc);
+ addr_per_block = block_size / sizeof (u32);
db_per_group = (groups_count + desc_per_block - 1) / desc_per_block;
}