Re: [PATCH] maple_tree: Fix the error of mas->min/max in mas_skip_node()

From: Andrew Morton
Date: Wed Mar 08 2023 - 20:55:58 EST


On Wed, 8 Mar 2023 00:03:40 +0800 Peng Zhang <zhangpeng.00@xxxxxxxxxxxxx> wrote:

> The assignment of mas->min and mas->max is wrong. mas->min and mas->max
> should represent the range of the current node. After mas_ascend()
> returns, mas-min and mas->max already represent the range of the current
> node, so we should delete these assignments of mas->min and mas->max.
>

Please fully describe the user-visible effects of the flaw, especially
when proposing a -stable backport.