summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2013-06-05 21:32:08 +0200
committerDave Kleikamp <dave.kleikamp@oracle.com>2013-06-05 21:47:16 +0200
commit21d1101f013c12d1dd78cfdf263d619c80975b47 (patch)
tree0ec406197cc3a56d62bed26bf002638a30fb4161 /fs
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-21d1101f013c12d1dd78cfdf263d619c80975b47.tar.xz
linux-21d1101f013c12d1dd78cfdf263d619c80975b47.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/jfs/xattr.c4
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;