diff options
author | Tejun Heo <tj@kernel.org> | 2022-08-28 08:04:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-01 19:08:44 +0300 |
commit | e2691f6b44ed2135bfd005ad5fbabac4f433a7a1 (patch) | |
tree | a1f35cf32893a9f95c33930c00ca295aef701893 /drivers | |
parent | 783bd07d095b722108725af11113795ee046ed0e (diff) | |
download | linux-e2691f6b44ed2135bfd005ad5fbabac4f433a7a1.tar.xz |
cgroup: Implement cgroup_file_show()
Add cgroup_file_show() which allows toggling visibility of a cgroup file
using the new kernfs_show(). This will be used to hide psi interface files
on cgroups where it's disabled.
Cc: Chengming Zhou <zhouchengming@bytedance.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Tested-by: Chengming Zhou <zhouchengming@bytedance.com>
Reviewed-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220828050440.734579-10-tj@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions