diff options
author | Christophe JAILLET <[email protected]> | 2024-06-14 22:57:09 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-24 22:25:10 -0700 |
commit | 03bf0044e13ad6f20b6b4513131b73b090b9dbb8 (patch) | |
tree | aca30e3a9ec9b38380ddbdcff87a197450a7b868 /tools/testing/radix-tree/xarray.c | |
parent | 3ebe69c0c3ae3ef5ecd1ad86aa98a3b7cbe3c7e9 (diff) |
ocfs2: constify struct ocfs2_stack_operations
"struct ocfs2_stack_operations" are not modified in this driver.
Constifying this structure moves some data to a read-only section, so
increase overall security.
In order to do it, "struct ocfs2_stack_plugin" also needs to be adjusted
to this new const qualifier.
On a x86_64, with allmodconfig:
Before:
======
text data bss dec hex filename
6241 644 0 6885 1ae5 fs/ocfs2/stack_o2cb.o
After:
=====
text data bss dec hex filename
6337 548 0 6885 1ae5 fs/ocfs2/stack_o2cb.o
Link: https://lkml.kernel.org/r/f52dab89ee0049ec6271de29183a781efbb275ab.1718398605.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Joseph Qi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions