From: Li Zefan Date: Thu, 1 Aug 2013 01:51:47 +0000 (+0800) Subject: cgroup: restructure the failure path in cgroup_write_event_control() X-Git-Tag: v3.12-rc1~173^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=876ede8b2b9880615be0de3ec7b8afd0a1786e76;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed