]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: don't forget to unlock uids_mutex on error paths
authorPavel Emelyanov <xemul@openvz.org>
Mon, 26 Nov 2007 20:21:49 +0000 (21:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Nov 2007 20:21:49 +0000 (21:21 +0100)
commit5e8869bb699d50be5c0733edfc71cfcd5b43e10a
tree5ce6e7b25ffb2c78bb876861e4b0c83fd6f9b565
parent2ffbb8377c7a0713baf6644e285adc27a5654582
sched: don't forget to unlock uids_mutex on error paths

The commit

 commit 5cb350baf580017da38199625b7365b1763d7180
 Author: Dhaval Giani <dhaval@linux.vnet.ibm.com>
 Date:   Mon Oct 15 17:00:14 2007 +0200

    sched: group scheduling, sysfs tunables

introduced the uids_mutex and the helpers to lock/unlock it.
Unfortunately, the error paths of alloc_uid() were not patched
to unlock it.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/user.c