useful-e2fsck-files/blknum.c
blk64_t ext2fs_inode_data_blocks2(ext2_filsys fs,
					struct ext2_inode *inode)
{
	return (inode->i_blocks |
		((fs->super->s_feature_ro_compat &
		  EXT4_FEATURE_RO_COMPAT_HUGE_FILE) ?
		 (__u64) inode->osd2.linux2.l_i_blocks_hi << 32 : 0)) -
		(inode->i_file_acl ? fs->blocksize >> 9 : 0);
}
/*
 * Return the inode data block count
 */
Return the inode data block count
Return the inode data block count
blk64_t ext2fs_inode_data_blocks2(ext2_filsys fs,
					struct ext2_inode *inode)
{
	return (inode->i_blocks |
		((fs->super->s_feature_ro_compat &
		  EXT4_FEATURE_RO_COMPAT_HUGE_FILE) ?
		 (__u64) inode->osd2.linux2.l_i_blocks_hi << 32 : 0)) -
		(inode->i_file_acl ? fs->blocksize >> 9 : 0);
}
blk64_t ext2fs_inode_data_blocks2 ( ext2_filsys fs , struct ext2_inode * inode ) { return ( inode -> i_blocks | ( ( fs -> super -> s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE ) ? ( __u64 ) inode -> osd2 . linux2 . l_i_blocks_hi << 32 : 0 ) ) - ( inode -> i_file_acl ? fs -> blocksize >> 9 : 0 ) ; }
Return the inode data block count
Return the inode data block count