/* Return a pointer to the n-th block pointer in the btree block.  */
STATIC union xfs_btree_ptr* xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block)
/* Return a pointer to the n-th block pointer in the btree block.  */
STATIC union xfs_btree_ptr* xfs_btree_ptr_addr(struct xfs_btree_cur *cur, int n, struct xfs_btree_block *block)
{
	int			level = xfs_btree_get_level(block);
	ASSERT(block->bb_level != 0);
	return (union xfs_btree_ptr *)
		((char *)block + xfs_btree_ptr_offset(cur, n, level));
}