diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-12-03 07:55:34 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-12-03 21:07:29 -0500 |
commit | ddcd856d81861a523d79d077facd875da1f66792 (patch) | |
tree | 11468a4a8f35584654e129fe3e64865acefe580c /fs/xfs/linux-2.6/xfs_ioctl.h | |
parent | e5d412f17846b0aea9e5250926f994ab2e4e1006 (diff) |
[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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.h b/fs/xfs/linux-2.6/xfs_ioctl.h index f67dc69381e8..a3446aad070a 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl.h +++ b/fs/xfs/linux-2.6/xfs_ioctl.h | |||
@@ -67,4 +67,16 @@ xfs_attrmulti_attr_remove( | |||
67 | char *name, | 67 | char *name, |
68 | __uint32_t flags); | 68 | __uint32_t flags); |
69 | 69 | ||
70 | extern long | ||
71 | xfs_file_compat_ioctl( | ||
72 | struct file *file, | ||
73 | unsigned int cmd, | ||
74 | unsigned long arg); | ||
75 | |||
76 | extern long | ||
77 | xfs_file_compat_ioctl_invis( | ||
78 | struct file *file, | ||
79 | unsigned int cmd, | ||
80 | unsigned long arg); | ||
81 | |||
70 | #endif | 82 | #endif |