summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2012-08-01 03:42:46 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-08-01 05:42:42 +0400
commit3c935d189be9bb877c5a1110ac5fbf9c8e310658 (patch)
tree84aa62c9309a27cba588bb1a822a344b648a3497 /net
parent6068bf0104becf07792b2867bc4d17c369419f8b (diff)
downloadlinux-3c935d189be9bb877c5a1110ac5fbf9c8e310658.tar.xz
memcg: make mem_cgroup_force_empty_list() return bool
mem_cgroup_force_empty_list() just returns 0 or -EBUSY and -EBUSY indicates 'you need to retry'. Make mem_cgroup_force_empty_list() return a bool to simplify the logic. [akpm@linux-foundation.org: rework mem_cgroup_force_empty_list()'s comment] Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions