Re: [PATCH] cgroup: avoid attaching a cgroup root to two different superblocks
From: Tejun Heo
Date: Mon Apr 10 2017 - 20:01:40 EST
On Fri, Apr 07, 2017 at 04:51:55PM +0800, Zefan Li wrote:
> We end up using the same cgroup root for two different superblocks,
> so percpu_ref_kill() will be called twice on the same root when the
> two superblocks are destroyed.
>
> We should fix to make sure the superblock pinning is really successful.
>
> Cc: stable@xxxxxxxxxxxxxxx # 3.16+
> Reported-by: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
> Signed-off-by: Zefan Li <lizefan@xxxxxxxxxx>
Applied to cgroup/for-4.11-fixes.
Thanks.
--
tejun