Repository navigation
Commit b58c899
committed
cgroup: fix error return from cgroup_create()
cgroup_create() was returning 0 after allocation failures. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: stable@vger.kernel.org1 parent eb46bf8 commit b58c899
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4158 | 4158 | | |
4159 | 4159 | | |
4160 | 4160 | | |
4161 | | - | |
| 4161 | + | |
4162 | 4162 | | |
4163 | 4163 | | |
4164 | 4164 | | |
| |||
4168 | 4168 | | |
4169 | 4169 | | |
4170 | 4170 | | |
4171 | | - | |
| 4171 | + | |
| 4172 | + | |
4172 | 4173 | | |
| 4174 | + | |
4173 | 4175 | | |
4174 | 4176 | | |
4175 | 4177 | | |
4176 | 4178 | | |
4177 | 4179 | | |
4178 | 4180 | | |
4179 | 4181 | | |
4180 | | - | |
| 4182 | + | |
| 4183 | + | |
4181 | 4184 | | |
| 4185 | + | |
4182 | 4186 | | |
4183 | 4187 | | |
4184 | 4188 | | |
| |||
0 commit comments