consolidate the compat fcntl definitions v2

Arnd Bergmann arnd at arndb.de
Tue Feb 1 09:19:32 AEDT 2022


On Mon, Jan 31, 2022 at 7:49 AM Christoph Hellwig <hch at lst.de> wrote:
>
> Hi all,
>
> currenty the compat fcnt definitions are duplicate for all compat
> architectures, and the native fcntl64 definitions aren't even usable
> from userspace due to a bogus CONFIG_64BIT ifdef.  This series tries
> to sort out all that.
>
> Changes since v1:
>  - only make the F*64 defines uapi visible for 32-bit architectures

Looks all good to me,

Reviewed-by: Arnd Bergmann <arnd at arndb.de>

I think it would be best to merge this through the risc-v tree along
with the coming compat support
that depends on it. Alternatively, I can put it into my asm-generic
tree for 5.18.

         Arnd


More information about the Linuxppc-dev mailing list