diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-09 03:20:10 +0000 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-02-13 09:52:47 -0800 |
commit | 273a51e5521213a13e5852e762cc9c03c66b9baa (patch) | |
tree | 3952559545dabf602ccf5209cdf26bbd37856a1b /fs/f2fs/segment.h | |
parent | 269d119481008cd725ce32553332593c0ecfc91c (diff) |
f2fs: 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 <linux@weissschuh.net>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions