Subject: Re: [PATCH iproute2] ss: 64bit inode numbers

From: Stephen Hemminger <[email-masked]>
Date: Wed, 13 Apr 2016 13:55:11 -0700

On Tue, 12 Apr 2016 15:22:29 -0700
Eric Dumazet <[email-masked]> wrote:

> From: Eric Dumazet <[email-masked]>
> 
> Lets prepare for a possibility to have 64bit inode numbers for sockets,
> even if the kernel currently enforces 32bit numbers.
> 
> Presumably, if both kernel and userland are 64bit (no 32bit emulation),
> kernel could switch to 64bit inode numbers soon.
> 
> Signed-off-by: Eric Dumazet <[email-masked]>
 
Why not use ino_t rather than __u64 which is really intended for kernel/user abi.
Then make code generic on sizeof inode type.