Re: [PATCH] fs: GFS2: constify attribute_group structures.

2017-06-30 Thread Bob Peterson
- Original Message - | 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. | | File size before: |text data bss dec hex

Re: [PATCH] fs: GFS2: constify attribute_group structures.

2017-06-30 Thread Bob Peterson
- Original Message - | 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. | | File size before: |text data bss dec hex

[PATCH] fs: GFS2: constify attribute_group structures.

2017-06-29 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. File size before: textdata bss dec hex filename 52591344 8661119d3

[PATCH] fs: GFS2: constify attribute_group structures.

2017-06-29 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. File size before: textdata bss dec hex filename 52591344 8661119d3