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