cgroup: fix error return value of cgroup_addrm_files()
authorTejun Heo <tj@kernel.org>
Tue, 23 Feb 2016 03:25:45 +0000 (22:25 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 23 Feb 2016 03:25:45 +0000 (22:25 -0500)
commitb598dde354de22d87f664a7b99b8c21437da8efb
treece9d1050e1e61ecefca426fe5b2da185b31abfe9
parent1619b6d4fdd776b1b91bd288ad6f7e37fe183485
cgroup: fix error return value of cgroup_addrm_files()

cgroup_addrm_files() incorrectly returned 0 after add failure.  Fix
it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
kernel/cgroup.c