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

Peng Zhang zhangpeng.00 at bytedance.com
Wed Mar 8 18:09:07 PST 2023


在 2023/3/9 09:55, Andrew Morton 写道:
> On Wed,  8 Mar 2023 00:03:40 +0800 Peng Zhang <zhangpeng.00 at bytedance.com> 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.
>
The fixes made by this patch have been included in 
https://lore.kernel.org/lkml/20230307180247.2220303-2-Liam.Howlett@oracle.com/, 
so please don't pay attention.



More information about the maple-tree mailing list