diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-09-23 18:51:32 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-12-06 04:46:41 -0500 |
commit | 46cc1e5fce46e71f27e542125e045827a6bb776e (patch) | |
tree | a1b4f04d4c3f5697d400cad71e12f9d29236de49 /fs/gfs2/inode.c | |
parent | 018a01cd27b3448a7c65272ccb1a1cbab6c2667e (diff) |
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.c | 2 |
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: | |||
621 | return error; | 621 | return error; |
622 | } | 622 | } |
623 | 623 | ||
624 | int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array, | 624 | static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array, |
625 | void *fs_info) | 625 | void *fs_info) |
626 | { | 626 | { |
627 | const struct xattr *xattr; | 627 | const struct xattr *xattr; |