summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-03-24 02:42:47 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 05:46:35 +0300
commitee24d3797780eee6ffe581a7b78d27896f9b494a (patch)
tree8034dac124ab8f0a29bc6f238c030915b2e08398 /scripts/patch-kernel
parentc8163ca8afcac0fc54593fc60d1e1110edbd0eb2 (diff)
downloadlinux-ee24d3797780eee6ffe581a7b78d27896f9b494a.tar.xz
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions