Skip to content
Commit 3c745417 authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: fix error return value from cgroup_subtree_control()



While refactoring, f7b2814b ("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: default avatarTejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org # v4.6+
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7af608e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment