diff options
Diffstat (limited to 'include/linux/ext3_fs.h')
| -rw-r--r-- | include/linux/ext3_fs.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index cc08f56750da..11cca1bdc0c7 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h | |||
| @@ -216,14 +216,14 @@ struct ext3_new_group_data { | |||
| 216 | /* | 216 | /* |
| 217 | * ioctl commands | 217 | * ioctl commands |
| 218 | */ | 218 | */ |
| 219 | #define EXT3_IOC_GETFLAGS _IOR('f', 1, long) | 219 | #define EXT3_IOC_GETFLAGS FS_IOC_GETFLAGS |
| 220 | #define EXT3_IOC_SETFLAGS _IOW('f', 2, long) | 220 | #define EXT3_IOC_SETFLAGS FS_IOC_SETFLAGS |
| 221 | #define EXT3_IOC_GETVERSION _IOR('f', 3, long) | 221 | #define EXT3_IOC_GETVERSION _IOR('f', 3, long) |
| 222 | #define EXT3_IOC_SETVERSION _IOW('f', 4, long) | 222 | #define EXT3_IOC_SETVERSION _IOW('f', 4, long) |
| 223 | #define EXT3_IOC_GROUP_EXTEND _IOW('f', 7, unsigned long) | 223 | #define EXT3_IOC_GROUP_EXTEND _IOW('f', 7, unsigned long) |
| 224 | #define EXT3_IOC_GROUP_ADD _IOW('f', 8,struct ext3_new_group_input) | 224 | #define EXT3_IOC_GROUP_ADD _IOW('f', 8,struct ext3_new_group_input) |
| 225 | #define EXT3_IOC_GETVERSION_OLD _IOR('v', 1, long) | 225 | #define EXT3_IOC_GETVERSION_OLD FS_IOC_GETVERSION |
| 226 | #define EXT3_IOC_SETVERSION_OLD _IOW('v', 2, long) | 226 | #define EXT3_IOC_SETVERSION_OLD FS_IOC_SETVERSION |
| 227 | #ifdef CONFIG_JBD_DEBUG | 227 | #ifdef CONFIG_JBD_DEBUG |
| 228 | #define EXT3_IOC_WAIT_FOR_READONLY _IOR('f', 99, long) | 228 | #define EXT3_IOC_WAIT_FOR_READONLY _IOR('f', 99, long) |
| 229 | #endif | 229 | #endif |
| @@ -231,6 +231,23 @@ struct ext3_new_group_data { | |||
| 231 | #define EXT3_IOC_SETRSVSZ _IOW('f', 6, long) | 231 | #define EXT3_IOC_SETRSVSZ _IOW('f', 6, long) |
| 232 | 232 | ||
| 233 | /* | 233 | /* |
| 234 | * ioctl commands in 32 bit emulation | ||
| 235 | */ | ||
| 236 | #define EXT3_IOC32_GETFLAGS FS_IOC32_GETFLAGS | ||
| 237 | #define EXT3_IOC32_SETFLAGS FS_IOC32_SETFLAGS | ||
| 238 | #define EXT3_IOC32_GETVERSION _IOR('f', 3, int) | ||
| 239 | #define EXT3_IOC32_SETVERSION _IOW('f', 4, int) | ||
| 240 | #define EXT3_IOC32_GETRSVSZ _IOR('f', 5, int) | ||
| 241 | #define EXT3_IOC32_SETRSVSZ _IOW('f', 6, int) | ||
| 242 | #define EXT3_IOC32_GROUP_EXTEND _IOW('f', 7, unsigned int) | ||
| 243 | #ifdef CONFIG_JBD_DEBUG | ||
| 244 | #define EXT3_IOC32_WAIT_FOR_READONLY _IOR('f', 99, int) | ||
| 245 | #endif | ||
| 246 | #define EXT3_IOC32_GETVERSION_OLD FS_IOC32_GETVERSION | ||
| 247 | #define EXT3_IOC32_SETVERSION_OLD FS_IOC32_SETVERSION | ||
| 248 | |||
| 249 | |||
| 250 | /* | ||
| 234 | * Mount options | 251 | * Mount options |
| 235 | */ | 252 | */ |
| 236 | struct ext3_mount_options { | 253 | struct ext3_mount_options { |
| @@ -812,6 +829,7 @@ extern void ext3_set_aops(struct inode *inode); | |||
| 812 | /* ioctl.c */ | 829 | /* ioctl.c */ |
| 813 | extern int ext3_ioctl (struct inode *, struct file *, unsigned int, | 830 | extern int ext3_ioctl (struct inode *, struct file *, unsigned int, |
| 814 | unsigned long); | 831 | unsigned long); |
| 832 | extern long ext3_compat_ioctl (struct file *, unsigned int, unsigned long); | ||
| 815 | 833 | ||
| 816 | /* namei.c */ | 834 | /* namei.c */ |
| 817 | extern int ext3_orphan_add(handle_t *, struct inode *); | 835 | extern int ext3_orphan_add(handle_t *, struct inode *); |
