[PATCH 3/3] maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error
Wei Yang
richard.weiyang at gmail.com
Mon Nov 18 18:15:26 PST 2024
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().
--
Wei Yang
Help you, Help me
More information about the maple-tree
mailing list