cgroups: use hierarchy mutex in creation failure path
authorKAMEZAWA Hiroyuki <[email protected]>
Thu, 29 Jan 2009 22:25:10 +0000 (14:25 -0800)
committerLinus Torvalds <[email protected]>
Fri, 30 Jan 2009 02:04:43 +0000 (18:04 -0800)
commitbaef99a08a2e23d9386b47e53fa5f0d44fc98f66
tree0171abae8bd05710c83444b8a236fc6ffbcac71c
parent9e9e3cbc62da43c66e894d5a61fa08b427e25202
cgroups: use hierarchy mutex in creation failure path

Now, cgrp->sibling is handled under hierarchy mutex.
error route should do so, too.

Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Li Zefan <[email protected]>
Acked-by Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/cgroup.c