cgroup: fix missing unlock on error in cgroup_load_subsys()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 9 Dec 2013 12:38:29 +0000 (20:38 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 12 Dec 2013 15:45:36 +0000 (10:45 -0500)
commit0be8669dd530f60cf3f59f084518570c1dfb47ee
treea485c457cc9745b9687aceef81fdec02846ba7e3
parentb85d20404cef6493f9d2edbafe83f9c72aece9a8
cgroup: fix missing unlock on error in cgroup_load_subsys()

Add the missing unlock before return from function cgroup_load_subsys()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cgroup.c