[PATCH 1/4] cgroup: fix error return value in cgroup_mount()

Li Zefan lizefan at huawei.com
Wed Jan 29 03:36:49 UTC 2014


On 2014/1/28 23:32, Tejun Heo wrote:
> When cgroup_mount() fails to allocate an id for the root, it didn't
> set ret before jumping to unlock_drop ending up returning 0 after a
> failure.  Fix it.
> 
> Signed-off-by: Tejun Heo <tj at kernel.org>
> Cc: stable at vger.kernel.org

Acked-by: Li Zefan <lizefan at huawei.com>



More information about the Containers mailing list