aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlmglue.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-01-30 19:58:36 -0500
committerMark Fasheh <mfasheh@suse.com>2008-04-18 11:56:05 -0400
commit63e0c48ae6986a5bbb8e8dd9210c0e6ca79f2e50 (patch)
tree761be605ec94525d51ad09074bc70a2f9ddb2537 /fs/ocfs2/dlmglue.c
parentcf0acdcd640e9466059e69951c557e90b4bee45a (diff)
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>
Diffstat (limited to 'fs/ocfs2/dlmglue.c')
-rw-r--r--fs/ocfs2/dlmglue.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
index f41ff1c10ae..8a9c84909be 100644
--- a/fs/ocfs2/dlmglue.c
+++ b/fs/ocfs2/dlmglue.c
@@ -3366,16 +3366,11 @@ static struct ocfs2_locking_protocol lproto = {
3366 .lp_unlock_ast = ocfs2_unlock_ast, 3366 .lp_unlock_ast = ocfs2_unlock_ast,
3367}; 3367};
3368 3368
3369/* This interface isn't the final one, hence the less-than-perfect names */ 3369void ocfs2_set_locking_protocol(void)
3370void dlmglue_init_stack(void)
3371{ 3370{
3372 o2cb_get_stack(&lproto); 3371 ocfs2_stack_glue_set_locking_protocol(&lproto);
3373} 3372}
3374 3373
3375void dlmglue_exit_stack(void)
3376{
3377 o2cb_put_stack();
3378}
3379 3374
3380static void ocfs2_process_blocked_lock(struct ocfs2_super *osb, 3375static void ocfs2_process_blocked_lock(struct ocfs2_super *osb,
3381 struct ocfs2_lock_res *lockres) 3376 struct ocfs2_lock_res *lockres)