[PATCH 3/3] maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error
Liam R. Howlett
Liam.Howlett at oracle.com
Tue Nov 19 05:58:06 PST 2024
* Wei Yang <richard.weiyang at gmail.com> [241118 21:15]:
> On Mon, Nov 18, 2024 at 03:50:49PM -0500, Liam R. Howlett wrote:
> >* Wei Yang <richard.weiyang at gmail.com> [241115 20:48]:
> >> When mas_anode_descend() not find gap, it sets -EBUSY instead of setting
> >> offset to MAPLE_NODE_SLOTS.
> >
> >This is for mas_start(), which I think is not necessary anymore.
>
> You mean mas_start() would set offset to MAPLE_NODE_SLOTS on ma_none and
> ma_root?
>
> Thanks for the information, I didn't realize this.
>
> These two cases are handled by mas_sparse_area().
Yeah, I'm not sure that needing this lived to the released code.
More information about the maple-tree
mailing list