diff options
author | David Howells <dhowells@redhat.com> | 2006-08-29 14:06:18 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:52:28 -0400 |
commit | 52b499c438ff60991eb3855ca090782569b3e8cf (patch) | |
tree | ce6dde5d3488a0ba0497c4c49d99d3b94ce921c0 /fs/compat_ioctl.c | |
parent | 36695673b012096228ebdc1b39a6a5850daa474e (diff) |
[PATCH] BLOCK: Move the ReiserFS device ioctl compat stuff to the ReiserFS driver [try #6]
Move the ReiserFS device ioctl compat stuff from fs/compat_ioctl.c to the
ReiserFS driver so that the ReiserFS 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 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index bd9c4f49d4e5..0346f2ab57c4 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -59,7 +59,6 @@ | |||
59 | #include <linux/pci.h> | 59 | #include <linux/pci.h> |
60 | #include <linux/module.h> | 60 | #include <linux/module.h> |
61 | #include <linux/serial.h> | 61 | #include <linux/serial.h> |
62 | #include <linux/reiserfs_fs.h> | ||
63 | #include <linux/if_tun.h> | 62 | #include <linux/if_tun.h> |
64 | #include <linux/ctype.h> | 63 | #include <linux/ctype.h> |
65 | #include <linux/ioctl32.h> | 64 | #include <linux/ioctl32.h> |
@@ -2014,16 +2013,6 @@ static int vfat_ioctl32(unsigned fd, unsigned cmd, unsigned long arg) | |||
2014 | return ret; | 2013 | return ret; |
2015 | } | 2014 | } |
2016 | 2015 | ||
2017 | #define REISERFS_IOC_UNPACK32 _IOW(0xCD,1,int) | ||
2018 | |||
2019 | static int reiserfs_ioctl32(unsigned fd, unsigned cmd, unsigned long ptr) | ||
2020 | { | ||
2021 | if (cmd == REISERFS_IOC_UNPACK32) | ||
2022 | cmd = REISERFS_IOC_UNPACK; | ||
2023 | |||
2024 | return sys_ioctl(fd,cmd,ptr); | ||
2025 | } | ||
2026 | |||
2027 | struct raw32_config_request | 2016 | struct raw32_config_request |
2028 | { | 2017 | { |
2029 | compat_int_t raw_minor; | 2018 | compat_int_t raw_minor; |
@@ -2784,7 +2773,6 @@ HANDLE_IOCTL(BLKGETSIZE64_32, do_blkgetsize64) | |||
2784 | /* vfat */ | 2773 | /* vfat */ |
2785 | HANDLE_IOCTL(VFAT_IOCTL_READDIR_BOTH32, vfat_ioctl32) | 2774 | HANDLE_IOCTL(VFAT_IOCTL_READDIR_BOTH32, vfat_ioctl32) |
2786 | HANDLE_IOCTL(VFAT_IOCTL_READDIR_SHORT32, vfat_ioctl32) | 2775 | HANDLE_IOCTL(VFAT_IOCTL_READDIR_SHORT32, vfat_ioctl32) |
2787 | HANDLE_IOCTL(REISERFS_IOC_UNPACK32, reiserfs_ioctl32) | ||
2788 | /* Raw devices */ | 2776 | /* Raw devices */ |
2789 | HANDLE_IOCTL(RAW_SETBIND, raw_ioctl) | 2777 | HANDLE_IOCTL(RAW_SETBIND, raw_ioctl) |
2790 | HANDLE_IOCTL(RAW_GETBIND, raw_ioctl) | 2778 | HANDLE_IOCTL(RAW_GETBIND, raw_ioctl) |