mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] gfs2/inode.c: local functions should be static
@ 2011-09-23 22:51 H Hartley Sweeten
  2011-09-26  8:27 ` Steven Whitehouse
  0 siblings, 1 reply; 4+ messages in thread
From: H Hartley Sweeten @ 2011-09-23 22:51 UTC (permalink / raw)
  To: Linux Kernel; +Cc: cluster-devel, swhiteho

Quiets the sparse noise:

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

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>

---

diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 5431de9..5f2b157 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -624,7 +624,7 @@ fail:
 	return error;
 }
 
-int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
+static int gfs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
 		    void *fs_info)
 {
 	const struct xattr *xattr;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-26 18:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 22:51 [PATCH] gfs2/inode.c: local functions should be static H Hartley Sweeten
2011-09-26  8:27 ` Steven Whitehouse
2011-09-26 16:54   ` H Hartley Sweeten
2011-09-26 18:37     ` Steven Whitehouse

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®