aboutsummaryrefslogtreecommitdiff
path: root/firmware/acenic
diff options
context:
space:
mode:
authorJohannes Weiner2014-12-10 15:44:08 -0800
committerLinus Torvalds2014-12-10 17:41:07 -0800
commit4e2f245d38ba86e3922c6c188fe4a0d0688aed88 (patch)
tree8d4f91042e2ede102bd94236543f5cd5a97a5592 /firmware/acenic
parent354a4783a2ee5ba1cb5a1442cca8ecd4c0ac6d66 (diff)
mm: memcontrol: don't pass a NULL memcg to mem_cgroup_end_move()
mem_cgroup_end_move() checks if the passed memcg is NULL, along with a lengthy comment to explain why this seemingly non-sensical situation is even possible. Check in cancel_attach() itself whether can_attach() set up the move context or not, it's a lot more obvious from there. Then remove the check and comment in mem_cgroup_end_move(). Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Vladimir Davydov <vdavydov@parallels.com> Acked-by: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/acenic')
0 files changed, 0 insertions, 0 deletions