milos-linux/fs/sysfs
Thomas Weißschuh 0afcee132b sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns()
Upcoming changes to the sysfs core require the size of the created file
to be overridable by the caller.
Add a parameter to enable this.
For now keep using attr->size in all cases.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Krzysztof Wilczyński <kw@linux.com>
Link: https://lore.kernel.org/r/20241103-sysfs-const-bin_attr-v2-1-71110628844c@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-05 14:00:28 +01:00
..
dir.c fs/sysfs/dir.c : Fix typo in comment 2023-12-07 11:35:23 +09:00
file.c sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns() 2024-11-05 14:00:28 +01:00
group.c sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns() 2024-11-05 14:00:28 +01:00
Kconfig
Makefile
mount.c kernfs: move struct kernfs_root out of the public view. 2022-02-23 15:46:34 +01:00
symlink.c
sysfs.h sysfs: explicitly pass size to sysfs_add_bin_file_mode_ns() 2024-11-05 14:00:28 +01:00