diff options
author | Christian Brauner <[email protected]> | 2020-02-05 14:26:19 +0100 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2020-02-12 17:57:51 -0500 |
commit | 17703097f3456498e6424614571648c6452f4d34 (patch) | |
tree | f302a8825f3e6bc554d92a19b6e89c49b00cd2ed /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 6df970e4f5d2c273554550d40d8b92cea9bec1a0 (diff) |
cgroup: add cgroup_get_from_file() helper
Add a helper cgroup_get_from_file(). The helper will be used in
subsequent patches to retrieve a cgroup while holding a reference to the
struct file it was taken from.
Cc: Tejun Heo <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: [email protected]
Acked-by: Michal Koutný <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions