Re: [PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()

2017-07-23 Thread Tejun Heo
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 >

Re: [PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()

2017-07-23 Thread Tejun Heo
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 >

[PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()

2017-07-23 Thread Tejun Heo
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 Cc:

[PATCH cgroup/for-4.13-fixes] cgroup: fix error return value from cgroup_subtree_control()

2017-07-23 Thread Tejun Heo
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 Cc: