Re: [PATCH 5/5] cgroup: separate out cgroup_attach_proc errorhandling code

From: Tejun Heo
Date: Tue Dec 20 2011 - 19:13:59 EST


On Tue, Dec 20, 2011 at 04:02:31PM -0800, Mandeep Singh Baines wrote:
> > Hmm... maybe goto out_free_group_list? Duplicating cleanup on success
> > and failure paths can lead future updaters forget one of them. The
> > exit path in this function isn't pretty but I don't think the proposed
> > patch improves it either.
> >
>
> Should I drop the patch or add the goto? Its 5/5 so easy enough to drop
> since nothing else depends on it.

Yeah, let's drop it for now. 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/