diff options
author | Kamalesh Babulal <[email protected]> | 2023-07-17 20:09:23 +0530 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2023-07-17 08:44:56 -1000 |
commit | c25ff4b911a11908c7f05bc07cc6762f9cece2b5 (patch) | |
tree | 6d698fef173473891b80044b54c13918f160fd63 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6f71780e7fadf778eeb45e830d31339af53533fc (diff) |
cgroup: remove cgrp->kn check in css_populate_dir()
cgroup_create() creates cgrp and assigns the kernfs_node to cgrp->kn,
then cgroup_mkdir() populates base and csses cft file by calling
css_populate_dir() and cgroup_apply_control_enable() with a valid
cgrp->kn. Check for NULL cgrp->kn, will always be false, remove it.
Signed-off-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions