On Mon, Feb 29, 2016 at 08:50:00AM +0000, Serge Hallyn wrote: > Quoting Tejun Heo (tj@xxxxxxxxxx): > > copy_cgroup_ns()'s error handling was broken and the attempt to fix it > > d22025570e2e ("cgroup: fix alloc_cgroup_ns() error handling in > > copy_cgroup_ns()") was broken too in that it ended up trying an > > ERR_PTR() value. > > > > There's only one place where copy_cgroup_ns() needs to perform cleanup > > after failure. Simplify and fix the error handling by removing the > > goto's. > > > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > It certainly looks cleaner, thanks. > > Acked-by: Serge E. Hallyn <serge.hallyn@xxxxxxxxxx> Applied to cgroup/for-4.6-ns. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html