Re: [PATCH v2 3/7] cgroup: restructure the failure path incgroup_write_event_control()

From: Tejun Heo
Date: Thu Aug 01 2013 - 09:30:36 EST


On Thu, Aug 01, 2013 at 09:51:47AM +0800, Li Zefan wrote:
> 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@xxxxxxxxxx>

Applied to cgroup/for-3.12.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/