]>
Commit | Line | Data |
---|---|---|
804b604a | 1 | --- lxc-3.2.1/src/lxc/cgroups/cgfsng.c.orig 2019-07-23 00:34:33.000000000 +0200 |
2 | +++ lxc-3.2.1/src/lxc/cgroups/cgfsng.c 2020-03-24 15:17:05.536616935 +0100 | |
3 | @@ -496,12 +496,12 @@ | |
4 | } | |
5 | ||
6 | if (!flipped_bit) { | |
7 | - DEBUG("No isolated or offline cpus present in cpuset"); | |
8 | - return true; | |
9 | + cpulist = lxc_cpumask_to_cpulist(possmask, maxposs); | |
10 | + TRACE("No isolated or offline cpus present in cpuset"); | |
11 | + } else { | |
12 | + cpulist = move_ptr(posscpus); | |
13 | + TRACE("Removed isolated or offline cpus from cpuset"); | |
14 | } | |
15 | - DEBUG("Removed isolated or offline cpus from cpuset"); | |
16 | - | |
17 | - cpulist = lxc_cpumask_to_cpulist(possmask, maxposs); | |
18 | if (!cpulist) { | |
19 | ERROR("Failed to create cpu list"); | |
20 | return false; | |
21 | @@ -1260,7 +1260,7 @@ | |
22 | ||
23 | orig_len = strlen(dir); | |
24 | do { | |
25 | - __do_free char *makeme; | |
26 | + __do_free char *makeme = NULL; | |
27 | int ret; | |
28 | size_t cur_len; | |
29 |