]> git.baikalelectronics.ru Git - kernel.git/commit
compat_ioctl: move cdrom commands into cdrom.c
authorArnd Bergmann <arnd@arndb.de>
Thu, 28 Nov 2019 14:55:17 +0000 (15:55 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 Jan 2020 08:42:52 +0000 (09:42 +0100)
commit1af556a298ab3f4c01ba2db3d9f435f64f988056
treeceecacbdd6b77534fd4cba5832727e397dab96b3
parent5d7a37eb99a2eed2623bcf7630858cd2d4ada576
compat_ioctl: move cdrom commands into cdrom.c

There is no need for the special cases for the cdrom ioctls any more now,
so make sure that each cdrom driver has a .compat_ioctl() callback and
calls cdrom_compat_ioctl() directly there.

Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
block/compat_ioctl.c
drivers/block/paride/pcd.c
drivers/cdrom/gdrom.c
drivers/ide/ide-cd.c
drivers/scsi/sr.c