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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user