md: move compat_ioctl handling into md.c
The RAID ioctls are only implemented in md.c, so the handling for them should also be moved there from fs/compat_ioctl.c. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Neil Brown <neilb@suse.de> Cc: Andre Noll <maan@systemlinux.org> Cc: linux-raid@vger.kernel.org Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
@@ -979,24 +979,6 @@ COMPATIBLE_IOCTL(FIGETBSZ)
|
||||
/* 'X' - originally XFS but some now in the VFS */
|
||||
COMPATIBLE_IOCTL(FIFREEZE)
|
||||
COMPATIBLE_IOCTL(FITHAW)
|
||||
/* RAID */
|
||||
COMPATIBLE_IOCTL(RAID_VERSION)
|
||||
COMPATIBLE_IOCTL(GET_ARRAY_INFO)
|
||||
COMPATIBLE_IOCTL(GET_DISK_INFO)
|
||||
COMPATIBLE_IOCTL(PRINT_RAID_DEBUG)
|
||||
COMPATIBLE_IOCTL(RAID_AUTORUN)
|
||||
COMPATIBLE_IOCTL(CLEAR_ARRAY)
|
||||
COMPATIBLE_IOCTL(ADD_NEW_DISK)
|
||||
COMPATIBLE_IOCTL(SET_ARRAY_INFO)
|
||||
COMPATIBLE_IOCTL(SET_DISK_INFO)
|
||||
COMPATIBLE_IOCTL(WRITE_RAID_INFO)
|
||||
COMPATIBLE_IOCTL(UNPROTECT_ARRAY)
|
||||
COMPATIBLE_IOCTL(PROTECT_ARRAY)
|
||||
COMPATIBLE_IOCTL(RUN_ARRAY)
|
||||
COMPATIBLE_IOCTL(STOP_ARRAY)
|
||||
COMPATIBLE_IOCTL(STOP_ARRAY_RO)
|
||||
COMPATIBLE_IOCTL(RESTART_ARRAY_RW)
|
||||
COMPATIBLE_IOCTL(GET_BITMAP_FILE)
|
||||
COMPATIBLE_IOCTL(KDGETKEYCODE)
|
||||
COMPATIBLE_IOCTL(KDSETKEYCODE)
|
||||
COMPATIBLE_IOCTL(KDGKBTYPE)
|
||||
|
Reference in New Issue
Block a user