[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201109231551.32939.hartleys@visionengravers.com>
Date: Fri, 23 Sep 2011 15:51:32 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <cluster-devel@...hat.com>, <swhiteho@...hat.com>
Subject: [PATCH] gfs2/inode.c: local functions should be static
Quiets the sparse noise:
warning: symbol 'gfs2_initxattrs' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Cc: Steven Whitehouse <swhiteho@...hat.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;
--
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