[PATCH] [makedumpfile] Fix missing last node
Bernhard Walle
bwalle at suse.de
Fri May 18 06:50:12 EDT 2007
This patch fixes a typo which results in duplication of the first node (and the
last node was missing then).
Signed-off-by: Bernhard Walle <bwalle at suse.de>
---
makedumpfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -2278,7 +2278,7 @@ get_mm_discontigmem(struct DumpInfo *inf
if ((node = next_online_node(node + 1)) < 0) {
ERRMSG("Can't get next online node.\n");
return FALSE;
- } else if (!(pgdat = next_online_pgdat(info, node))) {
+ } else if (!(pgdat = next_online_pgdat(info, node + 1))) {
ERRMSG("Can't determine pgdat list (node %d).\n",
node);
return FALSE;
More information about the kexec
mailing list