aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/linux-2.6/xfs_file.c2
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl.h12
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl32.h3
3 files changed, 13 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c
index 72fc8d8c8bc1..d377db05d806 100644
--- a/fs/xfs/linux-2.6/xfs_file.c
+++ b/fs/xfs/linux-2.6/xfs_file.c
@@ -36,9 +36,9 @@
36#include "xfs_inode.h" 36#include "xfs_inode.h"
37#include "xfs_error.h" 37#include "xfs_error.h"
38#include "xfs_rw.h" 38#include "xfs_rw.h"
39#include "xfs_ioctl32.h"
40#include "xfs_vnodeops.h" 39#include "xfs_vnodeops.h"
41#include "xfs_da_btree.h" 40#include "xfs_da_btree.h"
41#include "xfs_ioctl.h"
42 42
43#include <linux/dcache.h> 43#include <linux/dcache.h>
44#include <linux/smp_lock.h> 44#include <linux/smp_lock.h>
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
70extern long
71xfs_file_compat_ioctl(
72 struct file *file,
73 unsigned int cmd,
74 unsigned long arg);
75
76extern long
77xfs_file_compat_ioctl_invis(
78 struct file *file,
79 unsigned int cmd,
80 unsigned long arg);
81
70#endif 82#endif
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.h b/fs/xfs/linux-2.6/xfs_ioctl32.h
index af918749d186..1024c4f8ba0d 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl32.h
+++ b/fs/xfs/linux-2.6/xfs_ioctl32.h
@@ -20,9 +20,6 @@
20 20
21#include <linux/compat.h> 21#include <linux/compat.h>
22 22
23extern long xfs_file_compat_ioctl(struct file *, unsigned, unsigned long);
24extern long xfs_file_compat_invis_ioctl(struct file *, unsigned, unsigned long);
25
26/* 23/*
27 * on 32-bit arches, ioctl argument structures may have different sizes 24 * on 32-bit arches, ioctl argument structures may have different sizes
28 * and/or alignment. We define compat structures which match the 25 * and/or alignment. We define compat structures which match the