aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-12-23 17:13:56 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-23 17:13:56 -0500
commitabb434cb0539fb355c1c921f8fd761efbbac3462 (patch)
tree24a7d99ec161f8fd4dc9ff03c9c4cc93be883ce6 /mm/memcontrol.c
parent2494654d4890316e7340fb8b3458daad0474a1b9 (diff)
parent6350323ad8def2ac00d77cdee3b79c9b9fba75c4 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: net/bluetooth/l2cap_core.c Just two overlapping changes, one added an initialization of a local variable, and another change added a new local variable. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 8cdc9156455c..94da8ee9e2c2 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4995,9 +4995,9 @@ mem_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cont)
4995 int cpu; 4995 int cpu;
4996 enable_swap_cgroup(); 4996 enable_swap_cgroup();
4997 parent = NULL; 4997 parent = NULL;
4998 root_mem_cgroup = memcg;
4999 if (mem_cgroup_soft_limit_tree_init()) 4998 if (mem_cgroup_soft_limit_tree_init())
5000 goto free_out; 4999 goto free_out;
5000 root_mem_cgroup = memcg;
5001 for_each_possible_cpu(cpu) { 5001 for_each_possible_cpu(cpu) {
5002 struct memcg_stock_pcp *stock = 5002 struct memcg_stock_pcp *stock =
5003 &per_cpu(memcg_stock, cpu); 5003 &per_cpu(memcg_stock, cpu);
@@ -5036,7 +5036,6 @@ mem_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cont)
5036 return &memcg->css; 5036 return &memcg->css;
5037free_out: 5037free_out:
5038 __mem_cgroup_free(memcg); 5038 __mem_cgroup_free(memcg);
5039 root_mem_cgroup = NULL;
5040 return ERR_PTR(error); 5039 return ERR_PTR(error);
5041} 5040}
5042 5041