diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c index b068ed32d7b3..9f9a83f91ca5 100644 --- a/fs/kernfs/dir.c +++ b/fs/kernfs/dir.c @@ -203,6 +203,7 @@ int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) read_unlock_irqrestore(&kernfs_rename_lock, flags); return ret; } +EXPORT_SYMBOL_GPL(kernfs_name); /** * kernfs_path_from_node - build path of node @to relative to @from. diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 0490eff8bf9c..dc167a325328 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -11845,6 +11845,7 @@ struct cgroup_subsys cpu_cgrp_subsys = { .early_init = true, .threaded = true, }; +EXPORT_SYMBOL_GPL(cpu_cgrp_subsys); #endif /* CONFIG_CGROUP_SCHED */