/* Functions for the dlm to get the info that's been configured  */
static struct dlm_space* get_space(char *name)
/* Functions for the dlm to get the info that's been configured  */
static struct dlm_space* get_space(char *name)
{
	struct config_item *i;
	if (!space_list)
		return NULL;
	mutex_lock(&space_list->cg_subsys->su_mutex);
	i = config_group_find_item(space_list, name);
	mutex_unlock(&space_list->cg_subsys->su_mutex);
	return config_item_to_space(i);
}