ocfs2: make struct o2cb_stack_ops static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Apr 2008 08:49:31 +0000 (11:49 +0300)
committerMark Fasheh <mfasheh@suse.com>
Thu, 1 May 2008 00:09:25 +0000 (17:09 -0700)
This patch makes the needlessly global struct o2cb_stack_ops static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/stack_o2cb.c

index ac1d74c63bf5402cd7ee03d357e29908045801b4..bbd1667aa7d3996035fdf517dd0dd71c034ec6e5 100644 (file)
@@ -385,7 +385,7 @@ static int o2cb_cluster_this_node(unsigned int *node)
        return 0;
 }
 
-struct ocfs2_stack_operations o2cb_stack_ops = {
+static struct ocfs2_stack_operations o2cb_stack_ops = {
        .connect        = o2cb_cluster_connect,
        .disconnect     = o2cb_cluster_disconnect,
        .hangup         = o2cb_cluster_hangup,