Commit caca7d10 authored by Arnd Bergmann's avatar Arnd Bergmann

compat_ioctl: remove last RAID handling code

Commit aa98aa31 ("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: default avatarArnd Bergmann <arnd@arndb.de>
parent 50a2e74b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment