From e14de19d76bf244be34919feecc4d83f092c76a7 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Tue, 16 Feb 2021 13:33:24 -0500 Subject: [PATCH] lib/maple_tree: Reset request_count to 0 of old head on push Just to be safe Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 76b84ec4f1bf..65d7ba0ea383 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -1021,6 +1021,7 @@ static inline void mas_push_node(struct ma_state *mas, struct maple_enode *used) reuse->total = 1; if ((head) && !(((unsigned long)head & 0x1))) { + head->request_count = 0; reuse->slot[0] = head; reuse->total += head->total; } -- 2.50.1