]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
configfs: Constify ct_item_ops in struct config_item_type
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 25 Oct 2025 11:15:38 +0000 (13:15 +0200)
committerAndreas Hindborg <a.hindborg@kernel.org>
Thu, 27 Nov 2025 11:03:27 +0000 (12:03 +0100)
commitf7f78098690d60a03b47942ac7d73ea17b42239e
treee61d14e8171edfc4d3e82eed97b54440b210de2a
parentf2f36500a63b73a8be90127322ad740253cf89c0
configfs: Constify ct_item_ops in struct config_item_type

Make 'ct_item_ops' const in struct config_item_type.
This allows constification of many structures which hold some function
pointers.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/f43cb57418a7f59e883be8eedc7d6abe802a2094.1761390472.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
fs/configfs/file.c
include/linux/configfs.h