From: Christoph Hellwig Date: Wed, 30 Nov 2011 08:58:18 +0000 (+0000) Subject: xfs: fix nfs export of 64-bit inodes numbers on 32-bit kernels X-Git-Tag: v3.2-rc5~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c29f7d457ac63311feb11928a866efd2fe153d74;p=pandora-kernel.git xfs: fix nfs export of 64-bit inodes numbers on 32-bit kernels 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 Reported-by: Hank Peng Signed-off-by: Christoph Hellwig Signed-off-by: Ben Myers --- Reading git-diff-tree failed