diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 5aa4c9500018..0aecb4d523cd 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -3492,7 +3492,7 @@ static inline void mas_wr_node_store(struct ma_wr_state *wr_mas, void __rcu **dst_slots; unsigned long *dst_pivots; unsigned char dst_offset, offset_end = wr_mas->offset_end; - struct maple_node reuse, *newnode; + struct maple_node reuse = {0}, *newnode; unsigned char copy_size, node_pivots = mt_pivots[wr_mas->type]; bool in_rcu = mt_in_rcu(mas->tree); unsigned char height = mas_mt_height(mas);