platform_kernel-5.15/fs/sysfs
Tejun Heo 061447a496 sysfs, kernfs: introduce sysfs_root_sd
Currently, it's assumed that there's a single kernfs hierarchy in the
system anchored at sysfs_root which is defined as a global struct.  To
allow other users of kernfs, this will be made dynamic.  Introduce a
new global variable sysfs_root_sd which points to &sysfs_root and
convert all &sysfs_root users.

This patch doesn't introduce any behavior difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-29 18:09:27 -08:00
..
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile sysfs, kernfs: move inode code to fs/kernfs/inode.c 2013-11-29 17:55:10 -08:00
dir.c sysfs, kernfs: introduce sysfs_root_sd 2013-11-29 18:09:27 -08:00
file.c sysfs, kernfs: move file core code to fs/kernfs/file.c 2013-11-29 18:08:39 -08:00
group.c sysfs, kernfs: introduce kernfs[_find_and]_get() and kernfs_put() 2013-11-29 17:55:10 -08:00
mount.c sysfs, kernfs: introduce sysfs_root_sd 2013-11-29 18:09:27 -08:00
symlink.c sysfs, kernfs: introduce sysfs_root_sd 2013-11-29 18:09:27 -08:00
sysfs.h sysfs, kernfs: introduce sysfs_root_sd 2013-11-29 18:09:27 -08:00