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: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Andrew Price <anprice@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
Ben Dooks (Codethink) 2019-10-17 12:02:25 +01:00 committed by Andreas Gruenbacher
parent f3b64b57c0
commit 1a48049adb

View File

@ -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,