commit | 876ede8b2b9880615be0de3ec7b8afd0a1786e76 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Thu Aug 01 09:51:47 2013 +0800 |
committer | Tejun Heo <tj@kernel.org> | Thu Aug 01 09:29:41 2013 -0400 |
tree | b2c238a5939a6daf9f43b6eba1b1ceaf3dc2c372 | |
parent | e14880f7bb7e0dc0933af304998371dd543ceb40 [diff] |
cgroup: restructure the failure path in cgroup_write_event_control() It uses a single label and checks the validity of each pointer. This is err-prone, and actually we had a bug because one of the check was insufficient. Use multi lables as we do in other places. v2: - drop initializations of local variables. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>