Re: [PATCH v3] XArray: minor documentation improvements

From: Tamir Duberstein
Date: Thu Oct 10 2024 - 17:40:03 EST


Hi Randy!

On Thu, Oct 10, 2024 at 5:35 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> > -You can then set entries using xa_store() and get entries
> > -using xa_load(). xa_store will overwrite any entry with the
> > -new entry and return the previous entry stored at that index. You can
> > -use xa_erase() instead of calling xa_store() with a
> > +You can then set entries using xa_store() and get entries using
> > +xa_load(). xa_store() will overwrite any entry with the new entry and
> > +return the previous entry stored at that index. You can unset entries
> > +using xa_erase() or by setting the entry to ``NULL`` using xa_store().
> > ``NULL`` entry. There is no difference between an entry that has never
>
> Is the line above supposed to be here?
> Confusing to me.
> Thanks.

Ah I think there's a latent sentence fragment there.