aboutsummaryrefslogtreecommitdiffstats
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-08-29 14:06:16 -0400
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-09-30 14:52:28 -0400
commit36695673b012096228ebdc1b39a6a5850daa474e (patch)
tree4b617e27256750f367b2b50653981c70db0ce2d0 /fs/compat_ioctl.c
parent863d5b822c02d0e7215fb84ca79e9f8c3e35f04e (diff)
[PATCH] BLOCK: Move common FS-specific ioctls to linux/fs.h [try #6]
Move common FS-specific ioctls from linux/ext2_fs.h to linux/fs.h as FS_IOC_* and FS_IOC32_* and have the users of them use those as a base. Also move the GETFLAGS/SETFLAGS flags to linux/fs.h as FS_*_FL macros, and then have the other users use them as a base. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r--fs/compat_ioctl.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 3b0cf7fbd95a..bd9c4f49d4e5 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -123,21 +123,6 @@
123#include <linux/dvb/video.h> 123#include <linux/dvb/video.h>
124#include <linux/lp.h> 124#include <linux/lp.h>
125 125
126/* Aiee. Someone does not find a difference between int and long */
127#define EXT2_IOC32_GETFLAGS _IOR('f', 1, int)
128#define EXT2_IOC32_SETFLAGS _IOW('f', 2, int)
129#define EXT3_IOC32_GETVERSION _IOR('f', 3, int)
130#define EXT3_IOC32_SETVERSION _IOW('f', 4, int)
131#define EXT3_IOC32_GETRSVSZ _IOR('f', 5, int)
132#define EXT3_IOC32_SETRSVSZ _IOW('f', 6, int)
133#define EXT3_IOC32_GROUP_EXTEND _IOW('f', 7, unsigned int)
134#ifdef CONFIG_JBD_DEBUG
135#define EXT3_IOC32_WAIT_FOR_READONLY _IOR('f', 99, int)
136#endif
137
138#define EXT2_IOC32_GETVERSION _IOR('v', 1, int)
139#define EXT2_IOC32_SETVERSION _IOW('v', 2, int)
140
141static int do_ioctl32_pointer(unsigned int fd, unsigned int cmd, 126static int do_ioctl32_pointer(unsigned int fd, unsigned int cmd,
142 unsigned long arg, struct file *f) 127 unsigned long arg, struct file *f)
143{ 128{