Re: [PATCH 3/3] maple_tree: we don't set offset to MAPLE_NODE_SLOTS on error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Wei Yang <richard.weiyang@xxxxxxxxx> [241121 02:15]:
> On Tue, Nov 19, 2024 at 08:58:06AM -0500, Liam R. Howlett wrote:
> >* Wei Yang <richard.weiyang@xxxxxxxxx> [241118 21:15]:
> >> On Mon, Nov 18, 2024 at 03:50:49PM -0500, Liam R. Howlett wrote:
> >> >* Wei Yang <richard.weiyang@xxxxxxxxx> [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.
> 
> I don't get you clearly.
> 
> What should I do next?

This looks good.

Reviewed-by: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux