lkml.org 
[lkml]   [2012]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 16/16] GFS2: local functions should be static
    Date
    From: H Hartley Sweeten <hartleys@visionengravers.com>

    Quiets the sparse noise:

    warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?

    Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
    Cc: Steven Whitehouse <swhiteho@redhat.com>
    Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

    diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
    index e0ada04..cb81898 100644
    --- a/fs/gfs2/inode.c
    +++ b/fs/gfs2/inode.c
    @@ -621,7 +621,7 @@ fail:
    return error;
    }

    -int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
    +static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
    void *fs_info)
    {
    const struct xattr *xattr;
    --
    1.7.4


    \
     
     \ /
      Last update: 2012-01-05 13:19    [W:0.043 / U:67.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site