diff options
author | Tejun Heo <tj@kernel.org> | 2014-02-08 16:26:33 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-08 16:26:33 +0100 |
commit | eb46bf89696972b856a9adb6aebd5c7b65c266e4 (patch) | |
tree | c4dd21535dd50996f296d056d05068fbe534dffa /security | |
parent | cgroup: use an ordered workqueue for cgroup destruction (diff) | |
download | linux-eb46bf89696972b856a9adb6aebd5c7b65c266e4.tar.xz linux-eb46bf89696972b856a9adb6aebd5c7b65c266e4.zip |
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
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions