[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190709071243.56992-1-yuehaibing@huawei.com>
Date: Tue, 9 Jul 2019 15:12:43 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <rpeterso@...hat.com>, <agruenba@...hat.com>
CC: <linux-kernel@...r.kernel.org>, <cluster-devel@...hat.com>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] gfs2: Make gfs2_fs_parameters static
Fix sparse warning:
fs/gfs2/ops_fstype.c:1330:39: warning:
symbol 'gfs2_fs_parameters' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
fs/gfs2/ops_fstype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index a1182eb..7ff4d6d 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -1327,7 +1327,7 @@ static const struct fs_parameter_enum gfs2_param_enums[] = {
{}
};
-const struct fs_parameter_description gfs2_fs_parameters = {
+static const struct fs_parameter_description gfs2_fs_parameters = {
.name = "gfs2",
.specs = gfs2_param_specs,
.enums = gfs2_param_enums,
--
2.7.4
Powered by blists - more mailing lists