summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-09-23 15:51:32 -0700
committerSteven Whitehouse <swhiteho@redhat.com>2011-12-06 09:46:41 +0000
commit46cc1e5fce46e71f27e542125e045827a6bb776e (patch)
treea1b4f04d4c3f5697d400cad71e12f9d29236de49 /fs/gfs2/inode.c
parent018a01cd27b3448a7c65272ccb1a1cbab6c2667e (diff)
downloadlinux-46cc1e5fce46e71f27e542125e045827a6bb776e.tar.bz2
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>
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r--fs/gfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index e0ada046b345..cb818985e28c 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;