diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-09-07 11:35:56 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-10-23 17:23:45 +0200 |
commit | caca7d10f815c9e70b5d34ca4807ee5c01e19a86 (patch) | |
tree | 600b1c2ad9831fe758a67f1510d2b4005f8b2f75 /fs/compat_ioctl.c | |
parent | 50a2e74bc2d1cf983f15dc5a8b2d3b8ade6c82f5 (diff) | |
download | linux-caca7d10f815c9e70b5d34ca4807ee5c01e19a86.tar.bz2 |
compat_ioctl: remove last RAID handling code
Commit aa98aa31987a ("md: move compat_ioctl handling into md.c")
already removed the COMPATIBLE_IOCTL() table entries and added
a complete implementation, but a few lines got left behind and
should also be removed here.
Cc: linux-raid@vger.kernel.org
Cc: Song Liu <song@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 6070481f2b6a..1ed32cca2176 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -462,19 +462,6 @@ static long do_ioctl_trans(unsigned int cmd, #endif } - /* - * These take an integer instead of a pointer as 'arg', - * so we must not do a compat_ptr() translation. - */ - switch (cmd) { - /* RAID */ - case HOT_REMOVE_DISK: - case HOT_ADD_DISK: - case SET_DISK_FAULTY: - case SET_BITMAP_FILE: - return vfs_ioctl(file, cmd, arg); - } - return -ENOIOCTLCMD; } |