On Tue, 12 Apr 2016 15:22:29 -0700 Eric Dumazet <[email protected]> wrote:
> From: Eric Dumazet <[email protected]> > > 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 protected]> Why not use ino_t rather than __u64 which is really intended for kernel/user abi. Then make code generic on sizeof inode type.
