diff options
author | David Howells <dhowells@redhat.com> | 2006-08-29 14:06:23 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:52:29 -0400 |
commit | 52a700c5675f399c07e6e57328291e57f13ef3bb (patch) | |
tree | 4ef1a3a7d66f589ad2e5f7d769da8c30f172a70e /include/linux/ext3_fs.h | |
parent | e322ff07fb2d0f05c02d85e7c6b30d23f308c20f (diff) |
[PATCH] BLOCK: Move the Ext3 device ioctl compat stuff to the Ext3 driver [try #6]
Move the Ext3 device ioctl compat stuff from fs/compat_ioctl.c to the Ext3
driver so that the Ext3 header file doesn't need to be included.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/ext3_fs.h')
-rw-r--r-- | include/linux/ext3_fs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index a7a01ff44669..11cca1bdc0c7 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h | |||
@@ -233,6 +233,8 @@ struct ext3_new_group_data { | |||
233 | /* | 233 | /* |
234 | * ioctl commands in 32 bit emulation | 234 | * ioctl commands in 32 bit emulation |
235 | */ | 235 | */ |
236 | #define EXT3_IOC32_GETFLAGS FS_IOC32_GETFLAGS | ||
237 | #define EXT3_IOC32_SETFLAGS FS_IOC32_SETFLAGS | ||
236 | #define EXT3_IOC32_GETVERSION _IOR('f', 3, int) | 238 | #define EXT3_IOC32_GETVERSION _IOR('f', 3, int) |
237 | #define EXT3_IOC32_SETVERSION _IOW('f', 4, int) | 239 | #define EXT3_IOC32_SETVERSION _IOW('f', 4, int) |
238 | #define EXT3_IOC32_GETRSVSZ _IOR('f', 5, int) | 240 | #define EXT3_IOC32_GETRSVSZ _IOR('f', 5, int) |
@@ -241,6 +243,9 @@ struct ext3_new_group_data { | |||
241 | #ifdef CONFIG_JBD_DEBUG | 243 | #ifdef CONFIG_JBD_DEBUG |
242 | #define EXT3_IOC32_WAIT_FOR_READONLY _IOR('f', 99, int) | 244 | #define EXT3_IOC32_WAIT_FOR_READONLY _IOR('f', 99, int) |
243 | #endif | 245 | #endif |
246 | #define EXT3_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION | ||
247 | #define EXT3_IOC32_SETVERSION_OLD FS_IOC32_SETVERSION | ||
248 | |||
244 | 249 | ||
245 | /* | 250 | /* |
246 | * Mount options | 251 | * Mount options |
@@ -824,6 +829,7 @@ extern void ext3_set_aops(struct inode *inode); | |||
824 | /* ioctl.c */ | 829 | /* ioctl.c */ |
825 | extern int ext3_ioctl (struct inode *, struct file *, unsigned int, | 830 | extern int ext3_ioctl (struct inode *, struct file *, unsigned int, |
826 | unsigned long); | 831 | unsigned long); |
832 | extern long ext3_compat_ioctl (struct file *, unsigned int, unsigned long); | ||
827 | 833 | ||
828 | /* namei.c */ | 834 | /* namei.c */ |
829 | extern int ext3_orphan_add(handle_t *, struct inode *); | 835 | extern int ext3_orphan_add(handle_t *, struct inode *); |