mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] jfs/xattr.c: local functions should be static
@ 2011-09-23 23:00 H Hartley Sweeten
  0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2011-09-23 23:00 UTC (permalink / raw)
  To: Linux Kernel; +Cc: jfs-discussion, shaggy

Quiets the sparse noise:

warning: symbol 'jfs_initxattrs' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Dave Kleikamp <shaggy@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
@@ -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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-23 23:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 23:00 [PATCH] jfs/xattr.c: local functions should be static H Hartley Sweeten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®