Repository navigation
Commit a68fc0c
cgroup: fix error return from cgroup_create()
commit b58c899 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 95efbc2 commit a68fc0c
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4348 | 4348 | | |
4349 | 4349 | | |
4350 | 4350 | | |
4351 | | - | |
| 4351 | + | |
4352 | 4352 | | |
4353 | 4353 | | |
4354 | 4354 | | |
| |||
4358 | 4358 | | |
4359 | 4359 | | |
4360 | 4360 | | |
4361 | | - | |
| 4361 | + | |
| 4362 | + | |
4362 | 4363 | | |
| 4364 | + | |
4363 | 4365 | | |
4364 | 4366 | | |
4365 | 4367 | | |
4366 | 4368 | | |
4367 | 4369 | | |
4368 | 4370 | | |
4369 | 4371 | | |
4370 | | - | |
| 4372 | + | |
| 4373 | + | |
4371 | 4374 | | |
| 4375 | + | |
4372 | 4376 | | |
4373 | 4377 | | |
4374 | 4378 | | |
| |||
0 commit comments