Skip to content
Commit 9732adc5 authored by Zefan Li's avatar Zefan Li Committed by Tejun Heo
Browse files

cgroup: avoid attaching a cgroup root to two different superblocks, take 2



Commit bfb0b80d ("cgroup: avoid attaching a cgroup root to two
different superblocks") is broken.  Now we try to fix the race by
delaying the initialization of cgroup root refcnt until a superblock
has been allocated.

Reported-by: default avatarDmitry Vyukov <dvyukov@google.com>
Reported-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Tested-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a590b90d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment