aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/stackglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/stackglue.c')
-rw-r--r--fs/ocfs2/stackglue.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c
index bd805411a856..51c2546b328d 100644
--- a/fs/ocfs2/stackglue.c
+++ b/fs/ocfs2/stackglue.c
@@ -429,14 +429,10 @@ int ocfs2_cluster_this_node(unsigned int *node)
429 return 0; 429 return 0;
430} 430}
431 431
432void o2cb_get_stack(struct ocfs2_locking_protocol *proto) 432void ocfs2_stack_glue_set_locking_protocol(struct ocfs2_locking_protocol *proto)
433{ 433{
434 BUG_ON(proto == NULL); 434 BUG_ON(proto != NULL);
435 435
436 lproto = proto; 436 lproto = proto;
437} 437}
438 438
439void o2cb_put_stack(void)
440{
441 lproto = NULL;
442}