Skip to contentSkip to conversation

gfs2: Make gfs2_fs_parameters static

PATCH New YueHaibing 1 participant 1 message Jul 9, 2019 GFS2 file system

lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH 1/1 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?

---
 fs/gfs2/ops_fstype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/gfs2/ops_fstype.c +1 -1
index a1182eb..7ff4d6d 100644
@@ -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,
Signature · 1 line
2.7.4