ocfs2: Clean up stackglue initialization

The stack glue initialization function needs a better name so that it can be
used cleanly when stackglue becomes a module.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
This commit is contained in:
Joel Becker
2008-01-30 16:58:36 -08:00
committed by Mark Fasheh
parent cf0acdcd64
commit 63e0c48ae6
5 changed files with 9 additions and 22 deletions

View File

@@ -429,14 +429,10 @@ int ocfs2_cluster_this_node(unsigned int *node)
return 0;
}
void o2cb_get_stack(struct ocfs2_locking_protocol *proto)
void ocfs2_stack_glue_set_locking_protocol(struct ocfs2_locking_protocol *proto)
{
BUG_ON(proto == NULL);
BUG_ON(proto != NULL);
lproto = proto;
}
void o2cb_put_stack(void)
{
lproto = NULL;
}