Commit a8d55ff
kernel/cgroup: cleanup cgroup_base_files when fail to add cgroup_psi_files
Even though css_clear_dir would be called to cleanup
all existing cgroup files when css_populate_dir failed,
reclaiming newly created cgroup files before
css_populate_dir returns with failure makes code more
consistent.
Signed-off-by: David Wang <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>1 parent 9f34c56 commit a8d55ff
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1744 | 1744 | | |
1745 | 1745 | | |
1746 | 1746 | | |
1747 | | - | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
1748 | 1750 | | |
| 1751 | + | |
1749 | 1752 | | |
1750 | 1753 | | |
1751 | 1754 | | |
| |||
0 commit comments