summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-11-28 13:44:48 +0100
committerArnd Bergmann <arnd@arndb.de>2020-01-03 09:33:05 +0100
commitf3ee6e63a9df460963bc51a40891cd9b067404f3 (patch)
treebc0a22af353b3359a300b426464d6cecc3fab52a /drivers/cdrom/cdrom.c
parentcompat_ioctl: ubd, aoe: use blkdev_compat_ptr_ioctl (diff)
downloadlinux-f3ee6e63a9df460963bc51a40891cd9b067404f3.tar.xz
linux-f3ee6e63a9df460963bc51a40891cd9b067404f3.zip
compat_ioctl: move CDROM_SEND_PACKET handling into scsi
There is only one implementation of this ioctl, so move the handling out of the common block layer code into the place where it's actually needed. It also gets called indirectly through pktcdvd, which needs to be aware of this change. As I noticed, the old implementation of the compat handler failed to convert the structure on the way out, so the updated fields never got written back to user space. This is either not important, or it has never worked and should be fixed now. Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions