/* This function disconnects the cluster connection from ocfs2_control. Afterwards, userspace can't affect the cluster connection.  */
static void ocfs2_live_connection_drop(struct ocfs2_live_connection *c)
/* This function disconnects the cluster connection from ocfs2_control. Afterwards, userspace can't affect the cluster connection.  */
static void ocfs2_live_connection_drop(struct ocfs2_live_connection *c)
{
	mutex_lock(&ocfs2_control_lock);
	list_del_init(&c->oc_list);
	c->oc_conn = NULL;
	mutex_unlock(&ocfs2_control_lock);
	kfree(c);
}