Commit 007c4b62 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] trivial: fix counter in build_zonelists()

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Stephen Leonard <stephen@phynp6.phy-astr.gsu.edu>

This fixes a counter that is unnecessarily incremented in build_zonelists().
parent b55a523c
......@@ -1284,7 +1284,7 @@ static void __init build_zonelists(pg_data_t *pgdat)
for (node = 0; node < local_node; node++)
j = build_zonelists_node(NODE_DATA(node), zonelist, j, k);
zonelist->zones[j++] = NULL;
zonelist->zones[j] = NULL;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment