useful-e2fsck-files/blknum.c
void ext2fs_bg_itable_unused_set(ext2_filsys fs, dgrp_t group, __u32 n)
{
	struct ext4_group_desc *gdp;

	gdp = ext4fs_group_desc(fs, fs->group_desc, group);
	gdp->bg_itable_unused = n;
	if (fs->super->s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT)
		gdp->bg_itable_unused_hi = (__u32) n >> 16;
}
/*
 * Set the unused inodes count of a group
 */
Set the unused inodes count of a group
Set the unused inodes count of a group
void ext2fs_bg_itable_unused_set(ext2_filsys fs, dgrp_t group, __u32 n)
{
	struct ext4_group_desc *gdp;
	gdp = ext4fs_group_desc(fs, fs->group_desc, group);
	gdp->bg_itable_unused = n;
	if (fs->super->s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT)
		gdp->bg_itable_unused_hi = (__u32) n >> 16;
}
void ext2fs_bg_itable_unused_set ( ext2_filsys fs , dgrp_t group , __u32 n ) { struct ext4_group_desc * gdp ; gdp = ext4fs_group_desc ( fs , fs -> group_desc , group ) ; gdp -> bg_itable_unused = n ; if ( fs -> super -> s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT ) gdp -> bg_itable_unused_hi = ( __u32 ) n >> 16 ; }
Set the unused inodes count of a group
Set the unused inodes count of a group