hugetlb: do not fail in hugetlb_cgroup_pre_destroy
authorMichal Hocko <mhocko@suse.cz>
Fri, 26 Oct 2012 11:37:33 +0000 (13:37 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 5 Nov 2012 17:16:59 +0000 (09:16 -0800)
commit9d093cb10eb482adfba6ddc71a0969b78823ee8b
tree0d1780d0a0ba57f0b1a83e6fd5b429bf4c4df9d8
parentab5196c202c60f84c7a74975742806aad242d9e3
hugetlb: do not fail in hugetlb_cgroup_pre_destroy

Now that pre_destroy callbacks are called from the context where neither
any task can attach the group nor any children group can be added there
is no other way to fail from hugetlb_pre_destroy.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Glauber Costa <glommer@parallels.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/hugetlb_cgroup.c