[XFS] fix compile on 32 bit systems
authorChristoph Hellwig <hch@infradead.org>
Wed, 3 Dec 2008 12:55:34 +0000 (07:55 -0500)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 4 Dec 2008 02:07:29 +0000 (13:07 +1100)
commitddcd856d81861a523d79d077facd875da1f66792
tree11468a4a8f35584654e129fe3e64865acefe580c
parente5d412f17846b0aea9e5250926f994ab2e4e1006
[XFS] fix compile on 32 bit systems

The recent compat patches make xfs_file.c include xfs_ioctl32.h unconditional,
which breaks the build on 32 bit systems which don't have the various compat
defintions.

Remove the include and move the defintion of xfs_file_compat_ioctl to
xfs_ioctl.h so that we can avoid including all the compat defintions in
xfs_file.c

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_ioctl.h
fs/xfs/linux-2.6/xfs_ioctl32.h