提交 4af694e6 编写于 作者: A Adrian Bunk 提交者: Mark Fasheh

ocfs2: make struct o2cb_stack_ops static

This patch makes the needlessly global struct o2cb_stack_ops static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NJoel Becker <joel.becker@oracle.com>
Signed-off-by: NMark Fasheh <mfasheh@suse.com>
上级 4d8755b5
...@@ -385,7 +385,7 @@ static int o2cb_cluster_this_node(unsigned int *node) ...@@ -385,7 +385,7 @@ static int o2cb_cluster_this_node(unsigned int *node)
return 0; return 0;
} }
struct ocfs2_stack_operations o2cb_stack_ops = { static struct ocfs2_stack_operations o2cb_stack_ops = {
.connect = o2cb_cluster_connect, .connect = o2cb_cluster_connect,
.disconnect = o2cb_cluster_disconnect, .disconnect = o2cb_cluster_disconnect,
.hangup = o2cb_cluster_hangup, .hangup = o2cb_cluster_hangup,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册