/* Read a series of dx_leaf blocks. This expects all buffer_head pointers to be NULL on function entry.  */
static int ocfs2_read_dx_leaves(struct inode *dir, u64 start, int num, struct buffer_head **dx_leaf_bhs)
/* Read a series of dx_leaf blocks. This expects all buffer_head pointers to be NULL on function entry.  */
static int ocfs2_read_dx_leaves(struct inode *dir, u64 start, int num, struct buffer_head **dx_leaf_bhs)
{
	int ret;
	ret = ocfs2_read_blocks(INODE_CACHE(dir), start, num, dx_leaf_bhs, 0,
				ocfs2_validate_dx_leaf);
	if (ret)
		mlog_errno(ret);
	return ret;
}