[PATCH] xfs: fix exporting with left over 64-bit inodes
Christoph Hellwig
hch at infradead.org
Mon Nov 22 04:23:51 CST 2010
On Mon, Nov 22, 2010 at 11:37:54AM +1100, Dave Chinner wrote:
> Won't this mean that people exporting non-root directories suddenly
> have those exports stop working on a kernel upgrade due to changing
> the handle format?
No, if NFSD used ->encode_fh to encode the handle for the export
directory we wouldn't even have that problem. NFSD directly encodes
i_ino as 32-bit value for the legacy subdirectory export fs handle.
So it will break whenever that particulat inode has a too large
inode number.
Check fs/nfsd/nfsfh.h:mk_fsid() for the glory details.
More information about the xfs
mailing list