From: H Hartley Sweeten Date: Fri, 23 Sep 2011 22:51:32 +0000 (-0700) Subject: GFS2: local functions should be static X-Git-Tag: next-20111207~70^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=46cc1e5fce46e71f27e542125e045827a6bb776e;p=karo-tx-linux.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 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;