Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 48b3c849 authored by Tejun Heo's avatar Tejun Heo Committed by ivanmeler
Browse files

cgroup: make css_tryget_online_from_dir() also recognize cgroup2 fs



The function currently returns -EBADF for a directory on the default
hierarchy.  Make it also recognize cgroup2_fs_type.  This will be used
for perf_event cgroup2 support.

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