/* NOTE: ocfs2_block_extent_contig(), ocfs2_extents_adjacent() and ocfs2_extent_rec_contig only work properly against leaf nodes!  */
static int ocfs2_block_extent_contig(struct super_block *sb, struct ocfs2_extent_rec *ext, u64 blkno)
/* NOTE: ocfs2_block_extent_contig(), ocfs2_extents_adjacent() and ocfs2_extent_rec_contig only work properly against leaf nodes!  */
static int ocfs2_block_extent_contig(struct super_block *sb, struct ocfs2_extent_rec *ext, u64 blkno)
{
	u64 blk_end = le64_to_cpu(ext->e_blkno);
	blk_end += ocfs2_clusters_to_blocks(sb,
				    le16_to_cpu(ext->e_leaf_clusters));
	return blkno == blk_end;
}