Re: [PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()
From: Tejun Heo
Date: Sun Jul 23 2017 - 08:15:56 EST
On Sun, Jul 23, 2017 at 08:14:15AM -0400, Tejun Heo wrote:
> While refactoring, f7b2814bb9b6 ("cgroup: factor out
> cgroup_{apply|finalize}_control() from
> cgroup_subtree_control_write()") broke error return value from the
> function. The return value from the last operation is always
> overridden to zero. Fix it.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v4.6+
Applying to cgroup/for-4.13-fixes.
Thanks.
--
tejun