consolidate the flock uapi definitions

Arnd Bergmann arnd at arndb.de
Mon Apr 12 11:03:40 BST 2021


On Mon, Apr 12, 2021 at 10:55 AM Christoph Hellwig <hch at lst.de> wrote:
>
> Hi all,
>
> currently we deal with the slight differents in the various architecture
> variants of the flock and flock64 stuctures in a very cruft way.  This
> series switches to just use small arch hooks and define the rest in
> asm-generic and linux/compat.h instead.

Nice cleanup. I can merge it through the asm-generic tree if you like,
though it's a little late just ahead of the merge window.

I would not want to change the compat_loff_t definition to compat_s64
to avoid the padding at this time, though that might be a useful cleanup
for a future cycle.

        Arnd



More information about the linux-arm-kernel mailing list