/* We can merge two free data extents only if the physical blocks are contiguous, AND the extents were freed by the same transaction, AND the blocks are associated with the same group.  */
static int can_merge(struct ext4_free_data *entry1, struct ext4_free_data *entry2)
/* We can merge two free data extents only if the physical blocks are contiguous, AND the extents were freed by the same transaction, AND the blocks are associated with the same group.  */
static int can_merge(struct ext4_free_data *entry1, struct ext4_free_data *entry2)
{
	if ((entry1->t_tid == entry2->t_tid) &&
	    (entry1->group == entry2->group) &&
	    ((entry1->start_blk + entry1->count) == entry2->start_blk))
		return 1;
	return 0;
}