/* If the nrblocks are discontiguous, they could cause the whole tree split more than once, but this is really rare.  */
int ext4_ext_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
/* If the nrblocks are discontiguous, they could cause the whole tree split more than once, but this is really rare.  */
int ext4_ext_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
{
	int index;
	int depth = ext_depth(inode);
	if (chunk)
		index = depth * 2;
	else
		index = depth * 3;
	return index;
}