aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/maple.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-06-14 20:57:09 +0000
committerAndrew Morton <[email protected]>2024-06-25 05:25:10 +0000
commit03bf0044e13ad6f20b6b4513131b73b090b9dbb8 (patch)
treeaca30e3a9ec9b38380ddbdcff87a197450a7b868 /tools/testing/radix-tree/maple.c
parentocfs2: constify struct ocfs2_lock_res_ops (diff)
downloadkernel-03bf0044e13ad6f20b6b4513131b73b090b9dbb8.tar.gz
kernel-03bf0044e13ad6f20b6b4513131b73b090b9dbb8.zip
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/maple.c')
0 files changed, 0 insertions, 0 deletions