Skip to content
Commit 16af4396 authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: implement cgroup_get_from_path() and expose cgroup_put()



Implement cgroup_get_from_path() using kernfs_walk_and_get() which
obtains a default hierarchy cgroup from its path.  This will be used
to allow cgroup path based matching from outside cgroup proper -
e.g. networking and perf.

v2: Add EXPORT_SYMBOL_GPL(cgroup_get_from_path).

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent bd96f76a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment