Commit 1a48049a authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Andreas Gruenbacher

gfs2: make gfs2_fs_parameters static

The gfs2_fs_parameters is not used outside the unit
it is declared in, so make it static.

Fixes the following sparse warning:

fs/gfs2/ops_fstype.c:1331:39: warning: symbol 'gfs2_fs_parameters' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: default avatarAndrew Price <anprice@redhat.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent f3b64b57
...@@ -1328,7 +1328,7 @@ static const struct fs_parameter_enum gfs2_param_enums[] = { ...@@ -1328,7 +1328,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", .name = "gfs2",
.specs = gfs2_param_specs, .specs = gfs2_param_specs,
.enums = gfs2_param_enums, .enums = gfs2_param_enums,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment