From c15632dc2544c170754509634e4598e19b4b0bf7 Mon Sep 17 00:00:00 2001 From: David Rientjes Date: Wed, 22 Jun 2011 18:13:01 -0700 Subject: [PATCH] --- yaml --- r: 253949 b: refs/heads/master c: 7553e8f2d5161a2b7a9b7a9f37be1b77e735552f h: refs/heads/master i: 253947: e18bd1c429f5b488f9422c2b00c9e1a4fc9c368c v: v3 --- [refs] | 2 +- trunk/mm/memory_hotplug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index adef530de2ff..0aa088e372c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b1d7dd80aadb9042e83f9778b484a2f92e0b04d4 +refs/heads/master: 7553e8f2d5161a2b7a9b7a9f37be1b77e735552f diff --git a/trunk/mm/memory_hotplug.c b/trunk/mm/memory_hotplug.c index 02159c755136..78dba9f04b5b 100644 --- a/trunk/mm/memory_hotplug.c +++ b/trunk/mm/memory_hotplug.c @@ -521,7 +521,7 @@ int mem_online_node(int nid) lock_memory_hotplug(); pgdat = hotadd_new_pgdat(nid, 0); - if (pgdat) { + if (!pgdat) { ret = -ENOMEM; goto out; }