Re: [RFC v2 08/16] luo: luo_files: add infrastructure for FDs

From: Pasha Tatashin
Date: Sat Jun 07 2025 - 20:07:49 EST


On Fri, Jun 6, 2025 at 6:28 PM Anish Moorthy <anish.moorthy@xxxxxxxxx> wrote:
>
> > + token = luo_next_file_token;
> > + luo_next_file_token++;
>
> This seems like it should be an atomic fetch_add: I'm only seeing read locks up till this point
>
> (Sorry if this is too nitpicky. Also for any formatting issues, I'm on mobile atm)

Thank you, this was also found by other reviewers. I have updated this
to use atomic.

Pasha