summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2008-05-14 16:05:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-14 19:11:14 -0700
commitfd8a4221ad76df700ff34875c9fbc42302aa4ba3 (patch)
tree4f37586cef40dca7cc8b630e85965a698e3aa1be /mm/backing-dev.c
parent3fc957721d18c93662f7d4dab455b80f53dd2641 (diff)
downloadlinux-stable-fd8a4221ad76df700ff34875c9fbc42302aa4ba3.tar.gz
linux-stable-fd8a4221ad76df700ff34875c9fbc42302aa4ba3.tar.bz2
linux-stable-fd8a4221ad76df700ff34875c9fbc42302aa4ba3.zip
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 <geoffrey.levand@am.sony.com> Cc: Yasunori Goto <y-goto@jp.fujitsu.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Dave Hansen <haveblue@us.ibm.com> Cc: Keith Mannthey <kmannth@us.ibm.com> Cc: Christoph Lameter <clameter@sgi.com> Cc: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions