Re: [PATCH] fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE

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

 



On Sat, 3 Aug 2024 at 20:47, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
>         bitmap_copy_and_extend(nfdt->open_fds, ofdt->open_fds,
>                         copy_words * BITS_PER_LONG, nwords * BITS_PER_LONG);

Ok, thinking about it, I like this interface, since it looks like the
compiler would see that it's in BITS_PER_LONG chunks if we inline it
and decide it's important.

So make it so.

               Linus




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux