diff options
author | Li Zefan <lizefan@huawei.com> | 2013-08-01 09:51:47 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-01 09:29:41 -0400 |
commit | 876ede8b2b9880615be0de3ec7b8afd0a1786e76 (patch) | |
tree | b2c238a5939a6daf9f43b6eba1b1ceaf3dc2c372 /firmware | |
parent | e14880f7bb7e0dc0933af304998371dd543ceb40 (diff) | |
download | linux-876ede8b2b9880615be0de3ec7b8afd0a1786e76.tar.gz linux-876ede8b2b9880615be0de3ec7b8afd0a1786e76.tar.bz2 linux-876ede8b2b9880615be0de3ec7b8afd0a1786e76.zip |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions