]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix exporting with left over 64-bit inodes
authorSamuel Kvasnica <samuel.kvasnica@ims.co.at>
Fri, 19 Nov 2010 13:38:49 +0000 (13:38 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Dec 2010 22:04:55 +0000 (16:04 -0600)
commitb1158485dc301277fb4ee859aa33be0f06461cdd
tree4bee2b310019661b147645d0a25f367580e4bca4
parente42658227cc4d964ab21e7d6de7ca28b68fdcf41
xfs: fix exporting with left over 64-bit inodes

We now support mounting and using filesystems with 64-bit inodes
even when not mounted with the inode64 option (which now only
controls if we allocate new inodes in that space or not).  Make sure
we always use large NFS file handles when exporting a filesystem
that may contain 64-bit inodes.  Note that this only affects newly
generated file handles, any outstanding 32-bit file handle is still
accepted.

[hch: the comment and commit log are mine, the rest is from a patch
 snipplet from Samuel]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_export.c