summaryrefslogtreecommitdiffstats
path: root/kernel/mutex.h
diff options
context:
space:
mode:
authorLi Zefan2008-09-13 11:33:08 +0200
committerLinus Torvalds2008-09-13 23:41:50 +0200
commit4e74339af6a59c061cf02f1ac497766bca1de19a (patch)
tree0903456d2aced7e2e9534b3b3d1c5f58e1056b53 /kernel/mutex.h
parentinclude/linux/ioport.h: add missing macro argument for devm_release_* family (diff)
downloadkernel-qcow2-linux-4e74339af6a59c061cf02f1ac497766bca1de19a.tar.gz
kernel-qcow2-linux-4e74339af6a59c061cf02f1ac497766bca1de19a.tar.xz
kernel-qcow2-linux-4e74339af6a59c061cf02f1ac497766bca1de19a.zip
cpuset: avoid changing cpuset's cpus when -errno returned
After the patch: commit 0b2f630a28d53b5a2082a5275bc3334b10373508 Author: Miao Xie <miaox@cn.fujitsu.com> Date: Fri Jul 25 01:47:21 2008 -0700 cpusets: restructure the function update_cpumask() and update_nodemask() It might happen that 'echo 0 > /cpuset/sub/cpus' returned failure but 'cpus' has been changed, because cpus was changed before calling heap_init() which may return -ENOMEM. This patch restores the orginal behavior. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Cc: Paul Jackson <pj@sgi.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/mutex.h')
0 files changed, 0 insertions, 0 deletions