From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Fri, 30 Jun 2017 09:42:23 -0400 (EDT) Subject: [Cluster-devel] [PATCH] fs: GFS2: constify attribute_group structures. In-Reply-To: References: Message-ID: <1521062963.27753093.1498830143169.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- 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 filename | 5259 1344 8 6611 19d3 fs/gfs2/sys.o | | File size After adding 'const': | text data bss dec hex filename | 5371 1216 8 6595 19c3 fs/gfs2/sys.o | | Signed-off-by: Arvind Yadav Hi, Thanks. This is now applied to the for-next branch of the linux-gfs2 tree: 1fc2e87 GFS2: constify attribute_group structures. Regards, Bob Peterson Red Hat File Systems