/* Normally this function find the preferred place for block allocation, returns it.  */
static ext3_fsblk_t ext3_find_goal(struct inode *inode, long block, Indirect *partial)
/* Normally this function find the preferred place for block allocation, returns it.  */
static ext3_fsblk_t ext3_find_goal(struct inode *inode, long block, Indirect *partial)
{
	struct ext3_block_alloc_info *block_i;
	block_i =  EXT3_I(inode)->i_block_alloc_info;
	if (block_i && (block == block_i->last_alloc_logical_block + 1)
		&& (block_i->last_alloc_physical_block != 0)) {
		return block_i->last_alloc_physical_block + 1;
	}
	return ext3_find_near(inode, partial);
}