diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-11-30 09:58:18 +0100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-06 17:46:23 +0100 |
commit | c29f7d457ac63311feb11928a866efd2fe153d74 (patch) | |
tree | 277ae257d415895a980c973ab2e41f59c70999d3 /fs/xfs/xfs_trace.h | |
parent | xfs: fix allocation length overflow in xfs_bmapi_write() (diff) | |
download | linux-c29f7d457ac63311feb11928a866efd2fe153d74.tar.xz linux-c29f7d457ac63311feb11928a866efd2fe153d74.zip |
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 <ygq51@hotmail.com>
Reported-by: Hank Peng <pengxihan@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
0 files changed, 0 insertions, 0 deletions