diff options
author | Zefan Li <lizefan@huawei.com> | 2017-04-19 10:15:59 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-04-28 18:04:54 -0400 |
commit | 9732adc5d6520238223df16630f1f8cad2269317 (patch) | |
tree | b10b3242df285c38a45e4b8039b2e860a9e20def /fs | |
parent | a590b90d472f2c176c140576ee3ab44df7f67839 (diff) | |
download | op-kernel-dev-9732adc5d6520238223df16630f1f8cad2269317.zip op-kernel-dev-9732adc5d6520238223df16630f1f8cad2269317.tar.gz |
cgroup: avoid attaching a cgroup root to two different superblocks, take 2
Commit bfb0b80db5f9 ("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: Dmitry Vyukov <dvyukov@google.com>
Reported-by: Andrei Vagin <avagin@virtuozzo.com>
Tested-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Zefan Li <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions