24 Sep 2011 01:00
[PATCH] jfs/xattr.c: local functions should be static
H Hartley Sweeten <hartleys <at> visionengravers.com>
2011-09-23 23:00:17 GMT
2011-09-23 23:00:17 GMT
Quiets the sparse noise:
warning: symbol 'jfs_initxattrs' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten <at> visionengravers.com>
Cc: Dave Kleikamp <shaggy <at> kernel.org>
---
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
<at> <at> -1089,7 +1089,7 <at> <at> 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;
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
(Continue reading)
RSS Feed