commit | f17fc25f2b4f4bd8edafe36af6d7379eb9db27a0 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Feb 23 10:00:51 2016 -0500 |
committer | Tejun Heo <tj@kernel.org> | Tue Feb 23 10:00:51 2016 -0500 |
tree | 06e59c3d41937f7be60b555bf8141a0bed789337 | |
parent | b38e42e962dbc2fbc3839ce70750881db7c9277e [diff] |
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: Tejun Heo <tj@kernel.org>