From: Geoff Levand Date: Wed, 14 May 2008 23:05:50 +0000 (-0700) Subject: memory_hotplug: check for walk_memory_resource() failure in online_pages() X-Git-Tag: v2.6.26-rc3~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd8a4221ad76df700ff34875c9fbc42302aa4ba3;p=pandora-kernel.git memory_hotplug: check for walk_memory_resource() failure in online_pages() Add a check to online_pages() to test for failure of walk_memory_resource(). This fixes a condition where a failure of walk_memory_resource() can lead to online_pages() returning success without the requested pages being onlined. Signed-off-by: Geoff Levand Cc: Yasunori Goto Cc: KAMEZAWA Hiroyuki Cc: Dave Hansen Cc: Keith Mannthey Cc: Christoph Lameter Cc: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed