Files
linux/kernel
Tejun Heo fa5ff8a1c4 cgroup: fix and restructure error handling in copy_cgroup_ns()
copy_cgroup_ns()'s error handling was broken and the attempt to fix it
d22025570e ("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@kernel.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2016-02-29 16:22:52 -05:00
..
2016-01-12 17:06:53 -05:00
2015-12-04 22:46:25 +01:00
2016-01-21 00:43:21 +01:00
2015-11-19 17:51:48 +01:00
2015-12-14 14:54:37 -05:00
2016-02-16 13:04:58 -05:00
2016-02-16 13:04:58 -05:00
2015-11-23 09:44:58 +01:00
2016-02-16 13:04:58 -05:00
2016-01-20 17:09:18 -08:00