This patch introduces a new macro EXT2_DESC_PER_BLOCK to calculate the number of group descriptors per block as two different structures are defined. lib/ext2fs/closefs.c | 2 +- lib/ext2fs/ext2_fs.h | 4 +++- lib/ext2fs/initialize.c | 2 +- lib/ext2fs/openfs.c | 4 ++-- misc/mke2fs.c | 5 ++--- resize/resize2fs.c | 7 +++---- 6 files changed, 12 insertions(+), 12 deletions(-)