]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cpuset: fix return without releasing semaphore
authorBob Picco <bob.picco@hp.com>
Mon, 14 Nov 2005 00:06:35 +0000 (16:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:11 +0000 (18:14 -0800)
commit47d1b31d9a0b457b326cc916b5707a388bd5868f
treeb9cacaa2f6ad595d6ade9e69f8a84d7c9b063048
parentece7cf5aa74875df3fcd16af9ae5369671a7173f
[PATCH] cpuset: fix return without releasing semaphore

It is wrong to acquire the semaphore and then return from
cpuset_zone_allowed without releasing it.

Signed-off-by: Bob Picco <bob.picco@hp.com>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c