diff options
| author | Geoff Levand <[email protected]> | 2008-05-14 16:05:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-05-14 19:11:14 -0700 |
| commit | fd8a4221ad76df700ff34875c9fbc42302aa4ba3 (patch) | |
| tree | 4f37586cef40dca7cc8b630e85965a698e3aa1be /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | 3fc957721d18c93662f7d4dab455b80f53dd2641 (diff) | |
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 <[email protected]>
Cc: Yasunori Goto <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Keith Mannthey <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Paul Jackson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions