]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
GFS2: local functions should be static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 23 Sep 2011 22:51:32 +0000 (15:51 -0700)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 6 Dec 2011 09:46:41 +0000 (09:46 +0000)
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>
fs/gfs2/inode.c

index e0ada046b345ec0c6af09be19ea3d924cfffc2f4..cb818985e28cce7504030cccc207ebca07663c80 100644 (file)
@@ -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;