Skip to content

Commit

Permalink
ocfs2: make struct o2cb_stack_ops static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Mark Fasheh committed May 1, 2008
1 parent 4d8755b commit 4af694e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/stack_o2cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4af694e

Please sign in to comment.