mirror-linux/fs/sysfs
Thomas Weißschuh 7dd9fdb493 sysfs: attribute_group: enable const variants of is_visible()
When constifying instances of struct attribute, for consistency the
corresponding .is_visible() callback should be adapted, too.
Introduce a temporary transition mechanism until all callbacks are
converted.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251029-sysfs-const-attr-prep-v5-4-ea7d745acff4@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-11-26 15:16:35 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dir.c kernfs: Use RCU to access kernfs_node::name. 2025-02-15 17:46:32 +01:00
file.c sysfs: remove bin_attribute::read_new/write_new() 2025-08-19 13:12:12 +02:00
group.c sysfs: attribute_group: enable const variants of is_visible() 2025-11-26 15:16:35 +01:00
mount.c kernfs: move struct kernfs_root out of the public view. 2022-02-23 15:46:34 +01:00
symlink.c docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
sysfs.h sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns() 2024-11-05 14:00:28 +01:00