]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memcg: clean up force_empty_list() return value check
authorKamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Sat, 21 Jul 2012 00:54:07 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:02:27 +0000 (13:02 +1000)
commitd3ffd3e58cdb0cf53a2435482051a4458b08bb26
tree6f160b6779c5fe88d9c7f1605c9e39ef6fe06ed2
parent676a5036de2d94fac53944b56194c6ad68290bba
memcg: clean up force_empty_list() return value check

After bf544fdc241da8 "memcg: move charges to root cgroup if
use_hierarchy=0 in mem_cgroup_move_hugetlb_parent()"
mem_cgroup_move_parent() returns only -EBUSY or -EINVAL.  So we can remove
the -ENOMEM and -EINTR checks.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol.c