summaryrefslogtreecommitdiff
path: root/kernel/pid_namespace.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-03-23 16:42:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 19:46:35 -0700
commitee24d3797780eee6ffe581a7b78d27896f9b494a (patch)
tree8034dac124ab8f0a29bc6f238c030915b2e08398 /kernel/pid_namespace.c
parentc8163ca8afcac0fc54593fc60d1e1110edbd0eb2 (diff)
downloadlinux-next-ee24d3797780eee6ffe581a7b78d27896f9b494a.tar.gz
cpuset: fix unchecked calls to NODEMASK_ALLOC()
Those functions that use NODEMASK_ALLOC() can't propagate errno to users, but will fail silently. Fix it by using a static nodemask_t variable for each function, and those variables are protected by cgroup_mutex; [akpm@linux-foundation.org: fix comment spelling, strengthen cgroup_lock comment] Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Paul Menage <menage@google.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions