diff --git a/[refs] b/[refs] index 537627e6fa5e..276192d1cc7f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d6f8bb1310d4745ff1d0c74eeacae31e2a3eeff1 +refs/heads/master: 3e903e7b1605aff88d7f89a96fab5e43081b914f diff --git a/trunk/kernel/cpuset.c b/trunk/kernel/cpuset.c index f57854b08922..4c49188cc49b 100644 --- a/trunk/kernel/cpuset.c +++ b/trunk/kernel/cpuset.c @@ -1682,9 +1682,9 @@ static int pid_array_load(pid_t *pidarray, int npids, struct cpuset *cs) do_each_thread(g, p) { if (p->cpuset == cs) { - pidarray[n++] = p->pid; if (unlikely(n == npids)) goto array_full; + pidarray[n++] = p->pid; } } while_each_thread(g, p);