[Jfs-discussion] [PATCH] jfs/xattr.c: local functions should be static
Brought to you by:
blaschke-oss,
shaggyk
From: H H. S. <har...@vi...> - 2011-09-23 23:00:38
|
Quiets the sparse noise: warning: symbol 'jfs_initxattrs' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten <hsw...@vi...> Cc: Dave Kleikamp <sh...@ke...> --- diff --git a/fs/jfs/xattr.c b/fs/jfs/xattr.c index 26683e1..c52b16d 100644 --- a/fs/jfs/xattr.c +++ b/fs/jfs/xattr.c @@ -1089,7 +1089,7 @@ int jfs_removexattr(struct dentry *dentry, const char *name) } #ifdef CONFIG_JFS_SECURITY -int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, +static int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, void *fs_info) { const struct xattr *xattr; |