[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201109231600.18033.hartleys@visionengravers.com>
Date: Fri, 23 Sep 2011 16:00:17 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <jfs-discussion@...ts.sourceforge.net>, <shaggy@...nel.org>
Subject: [PATCH] jfs/xattr.c: local functions should be static
Quiets the sparse noise:
warning: symbol 'jfs_initxattrs' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: Dave Kleikamp <shaggy@...nel.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
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists