/* ocfs2_shift_tree_depth() uses this to determine the # clusters value for the new topmost tree record.  */
static u32 ocfs2_sum_rightmost_rec(struct ocfs2_extent_list *el)
/* ocfs2_shift_tree_depth() uses this to determine the # clusters value for the new topmost tree record.  */
static u32 ocfs2_sum_rightmost_rec(struct ocfs2_extent_list *el)
{
	int i;
	i = le16_to_cpu(el->l_next_free_rec) - 1;
	return le32_to_cpu(el->l_recs[i].e_cpos) +
		ocfs2_rec_clusters(el, &el->l_recs[i]);
}