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

Make 'ct_group_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/6b720cf407e8a6d30f35beb72e031b2553d1ab7e.1761390472.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
fs/configfs/dir.c
include/linux/configfs.h