Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311109
b: refs/heads/master
c: 3a981f4
h: refs/heads/master
i:
  311107: 40690be
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Jun 20, 2012
1 parent aa4fad9 commit 88cb87d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61eafb00d55dfbccdfce543c6b60e369ff4f8f18
refs/heads/master: 3a981f482cc29f7d0aeab509e51ea15519a6e961
2 changes: 1 addition & 1 deletion trunk/mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ bool __mem_cgroup_same_or_subtree(const struct mem_cgroup *root_memcg,
{
if (root_memcg == memcg)
return true;
if (!root_memcg->use_hierarchy)
if (!root_memcg->use_hierarchy || !memcg)
return false;
return css_is_ancestor(&memcg->css, &root_memcg->css);
}
Expand Down

0 comments on commit 88cb87d

Please sign in to comment.