diff options
author | Thomas Weißschuh <[email protected]> | 2023-02-09 03:18:35 +0000 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2023-03-07 20:20:48 -0500 |
commit | 60db00e0a1490adcdc8b80887f7caf954d8bcd3e (patch) | |
tree | 460bb3af897655cbd2f40f5c09a3586b67f223a3 /lib/test_fortify/write_overflow-strscpy.c | |
parent | ffec85d53d0f39ee4680a2cf0795255e000e1feb (diff) |
ext4: make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions