aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2013-11-28 19:54:39 +0000
committerGreg Kroah-Hartman <[email protected]>2013-11-30 02:09:27 +0000
commit061447a496b915f1dc8f8c645c6825f856d2bbac (patch)
treece67f6c0ed84ab95594ae3b50fe409e80ca336cf /fs/kernfs/kernfs-internal.h
parentsysfs, kernfs: no need to kern_mount() sysfs from sysfs_init() (diff)
downloadkernel-061447a496b915f1dc8f8c645c6825f856d2bbac.tar.gz
kernel-061447a496b915f1dc8f8c645c6825f856d2bbac.zip
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions