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

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

 



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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux