[PATCH v3 2/3] staging: lustre: ldlm: constify attribute_group structures.

2017-07-21 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: patch was sent to

[PATCH v3 2/3] staging: lustre: ldlm: constify attribute_group structures.

2017-07-21 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- Changes in v2: patch was sent to wrong group. Changes in v3: