cgroup: remove gratuituous BUG_ON()s from rebind_subsystems()
authorTejun Heo <tj@kernel.org>
Sat, 29 Jun 2013 04:08:27 +0000 (21:08 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 16 Jul 2013 11:28:24 +0000 (05:28 -0600)
commita698b4488ab98deef6c3beeba3e27fea17650132
treeb165584741f936387a9bbb66e879f52fbcb0ea71
parent1d5be6b287c8efc879fbe578e2b7bc8f7a38f313
cgroup: remove gratuituous BUG_ON()s from rebind_subsystems()

rebind_subsystems() performs santiy checks even on subsystems which
aren't specified to be added or removed and the checks aren't all that
useful given that these are in a very cold path while the violations
they check would trip up in much hotter paths.

Let's remove these from rebind_subsystems().

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cgroup.c