aboutsummaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2011-03-23 16:42:47 -0700
committerLinus Torvalds <[email protected]>2011-03-23 19:46:35 -0700
commitee24d3797780eee6ffe581a7b78d27896f9b494a (patch)
tree8034dac124ab8f0a29bc6f238c030915b2e08398 /fs/proc/array.c
parentc8163ca8afcac0fc54593fc60d1e1110edbd0eb2 (diff)
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; [[email protected]: fix comment spelling, strengthen cgroup_lock comment] Signed-off-by: Li Zefan <[email protected]> Cc: Paul Menage <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Miao Xie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions