diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2013-06-05 23:32:08 +0400 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2013-06-05 23:47:16 +0400 |
commit | 21d1101f013c12d1dd78cfdf263d619c80975b47 (patch) | |
tree | 0ec406197cc3a56d62bed26bf002638a30fb4161 | |
parent | 4d3797d7e1861ac1af150a6189315786c5e1c820 (diff) | |
download | linux-21d1101f013c12d1dd78cfdf263d619c80975b47.tar.xz |
jfs: fix sparse warning in fs/jfs/xattr.c
CHECK fs/jfs/xattr.c
fs/jfs/xattr.c:1092:5: warning: symbol 'jfs_initxattrs' was not declared. Should it be static?
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
-rw-r--r-- | fs/jfs/xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jfs/xattr.c b/fs/jfs/xattr.c index 42d67f9757bf..86ce028f2566 100644 --- a/fs/jfs/xattr.c +++ b/fs/jfs/xattr.c @@ -1089,8 +1089,8 @@ int jfs_removexattr(struct dentry *dentry, const char *name) } #ifdef CONFIG_JFS_SECURITY -int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, - void *fs_info) +static int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, + void *fs_info) { const struct xattr *xattr; tid_t *tid = fs_info; |