[PATCH 5/4] xfs: fix nfs export of 64-bit inodes numbers on 32-bit kernels

Ben Myers bpm at sgi.com
Fri Dec 2 10:07:12 CST 2011


Hey Christoph,

On Wed, Nov 30, 2011 at 03:58:18AM -0500, Christoph Hellwig wrote:
> The i_ino field in the VFS inode is of type unsigned long and thus can't
> hold the full 64-bit inode number on 32-bit kernels.  We have the full
> inode number in the XFS inode, so use that one for nfs exports.  Note
> that I've also switched the 32-bit file handles types to it, just to make
> the code more consistent and copy & paste errors less likely to happen.
> 
> Reported-by: Guoquan Yang <ygq51 at hotmail.com>
> Reported-by: Hank Peng <pengxihan at gmail.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>

To what extent did you test this one?  Anything in particular I should
look for when I test it?

Thanks,
	Ben




More information about the xfs mailing list