[XFS] allow inode64 mount option on 32 bit systems
authorChristoph Hellwig <hch@infradead.org>
Fri, 28 Nov 2008 03:23:32 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:07:20 +0000 (11:07 +1100)
commit6c31b93a14a453c8756ffd228e24910ffdf30c5d
tree2404243fb61a1bc09b81f18399b19950325e18b7
parentf999a5bf3fa6b3d11334c3ba1e9dcfed5ff9f8a6
[XFS] allow inode64 mount option on 32 bit systems

Now that we've stopped using the Linux inode cache when can trivally
support the inode64 mount option on 32bit architectures.  As far as the
kernel and most userspace is concerned this works perfectly, but
applications still using really old stat and readdir interfaces will get
an EOVERFLOW error when hitting an inode number not fitting into 32
bits (that problem of course also exists when using these applications
on a 64bit kernel).

Note that because inode64 is simply a mount option we can currently
mount a filesystem having > 32 bit inode numbers and cause a variety of
problems, all this is solved but this patch which enables XFS_BIG_INUMS,
even when inode64 is not used.

(First sent on October 18th)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/linux-2.6/xfs_linux.h