useful-e2fsck-files/blknum.c
blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group)
{
	return (group == fs->group_desc_count - 1 ?
		ext2fs_blocks_count(fs->super) - 1 :
		ext2fs_group_first_block2(fs, group) +
			(fs->super->s_blocks_per_group - 1));
}
/*
 * Return the last block (inclusive) in a group
 */
Return the last block (inclusive) in a group
Return the last block ( inclusive ) in a group
blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group)
{
	return (group == fs->group_desc_count - 1 ?
		ext2fs_blocks_count(fs->super) - 1 :
		ext2fs_group_first_block2(fs, group) +
			(fs->super->s_blocks_per_group - 1));
}
blk64_t ext2fs_group_last_block2 ( ext2_filsys fs , dgrp_t group ) { return ( group == fs -> group_desc_count - 1 ? ext2fs_blocks_count ( fs -> super ) - 1 : ext2fs_group_first_block2 ( fs , group ) + ( fs -> super -> s_blocks_per_group - 1 ) ) ; }
Return the last block (inclusive) in a group
Return the last block ( inclusive ) in a group