diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index 7a515345610c..01dc027b4738 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c @@ -637,12 +637,12 @@ static struct attribute *tune_attrs[] = { NULL, }; -static struct attribute_group tune_group = { +static const struct attribute_group tune_group = { .name = "tune", .attrs = tune_attrs, }; -static struct attribute_group lock_module_group = { +static const struct attribute_group lock_module_group = { .name = "lock_module", .attrs = lock_module_attrs, };