lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[2.6 patch] 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>

    ---
    eb3ca85e31f3ddec51aaab0fd2243962d7ce1bc6 diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
    index ac1d74c..bbd1667 100644
    --- a/fs/ocfs2/stack_o2cb.c
    +++ b/fs/ocfs2/stack_o2cb.c
    @@ -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,


    \
     
     \ /
      Last update: 2008-04-21 10:53    [W:0.061 / U:61.420 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site