Skip to content

Commit 4af694e

Browse files
AdrianBunkMark Fasheh
authored andcommitted
ocfs2: make struct o2cb_stack_ops static
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>
1 parent 4d8755b commit 4af694e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ocfs2/stack_o2cb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static int o2cb_cluster_this_node(unsigned int *node)
385385
return 0;
386386
}
387387

388-
struct ocfs2_stack_operations o2cb_stack_ops = {
388+
static struct ocfs2_stack_operations o2cb_stack_ops = {
389389
.connect = o2cb_cluster_connect,
390390
.disconnect = o2cb_cluster_disconnect,
391391
.hangup = o2cb_cluster_hangup,

0 commit comments

Comments
 (0)