commit | eb46bf89696972b856a9adb6aebd5c7b65c266e4 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sat Feb 08 10:26:33 2014 -0500 |
committer | Tejun Heo <tj@kernel.org> | Sat Feb 08 10:26:33 2014 -0500 |
tree | c4dd21535dd50996f296d056d05068fbe534dffa | |
parent | ab3f5faa6255a0eb4f832675507d9e295ca7e9ba [diff] |
cgroup: fix error return value in cgroup_mount() 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@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com> Cc: stable@vger.kernel.org