From: H Hartley Sweeten Date: Fri, 23 Sep 2011 22:51:32 +0000 (-0700) Subject: GFS2: local functions should be static X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=46cc1e5fce46e71f27e542125e045827a6bb776e;p=linux-edison.git 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 Cc: Steven Whitehouse Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index e0ada046b34..cb818985e28 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;