diff options
author | Tejun Heo <tj@kernel.org> | 2015-11-20 15:55:52 -0500 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:46 +0300 |
commit | 3f3561ffd4588b789d0a58dbd26d82d43ce7f430 (patch) | |
tree | 0c0e8229f77f487f06bfb36ae02564ab41c1ab48 /include/linux/cgroup-defs.h | |
parent | d34063c30fd6051e0cbde2fedb4e405c5e903599 (diff) |
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: Tejun Heo <tj@kernel.org>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'include/linux/cgroup-defs.h')
0 files changed, 0 insertions, 0 deletions