Browse Source

GFS2: local functions should be static

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>
H Hartley Sweeten 13 years ago
parent
commit
46cc1e5fce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/gfs2/inode.c

+ 1 - 1
fs/gfs2/inode.c

@@ -621,7 +621,7 @@ fail:
 	return error;
 	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)
 		    void *fs_info)
 {
 {
 	const struct xattr *xattr;
 	const struct xattr *xattr;