[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)
commit5563e77078d85c4f107a0a673500c43ce57cf702
treeb9cacaa2f6ad595d6ade9e69f8a84d7c9b063048
parent3c8d61bcf2d762fb84dbf741df400c833cada18a
[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