Re: [PATCH] cgroup: fix missing unlock in cgroup_release_agent()

From: Tejun Heo
Date: Sat Sep 20 2014 - 12:24:44 EST


On Sat, Sep 20, 2014 at 02:35:43PM +0800, Zefan Li wrote:
> The patch 971ff4935538: "cgroup: use a per-cgroup work for release
> agent" from Sep 18, 2014, leads to the following static checker
> warning:
>
> kernel/cgroup.c:5310 cgroup_release_agent()
> warn: 'mutex:&cgroup_mutex' is sometimes locked here and sometimes unlocked.
>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Zefan Li <lizefan@xxxxxxxxxx>

Applied to cgroup/for-3.18.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/