Re: x86_64: 32bit emulation problems

Andi Kleen
2005-03-02T08:19:06Z

On Wed, Mar 02, 2005 at 12:46:23AM +0100, Andreas Schwab wrote:
> Bernd Schubert <bernd-schubert@web.de> writes:
>
> > Hmm, after compiling with -D_FILE_OFFSET_BITS=64 it works fine. But why does
> > it work without this option on a 32bit kernel, but not on a 64bit kernel?
>
> See nfs_fileid_to_ino_t for why the inode number is different between
> 32bit and 64bit kernels.

Ok that explains it. Thanks.

Best would be probably to just do the shift unconditionally on 64bit kernels
too.

Trond, what do you think?

-Andi