Commit cd798f7a authored by Steve Longerbeam's avatar Steve Longerbeam Committed by Linus Torvalds

[PATCH] shared_policy_replace() fix

It appears that this statement got lost during patch merging.  We don't want
to free the node which we just added.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 05e8b726
......@@ -1030,6 +1030,7 @@ static int shared_policy_replace(struct shared_policy *sp, unsigned long start,
}
n->end = start;
sp_insert(sp, new2);
new2 = NULL;
break;
} else
n->end = start;
......
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