diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-11-28 13:44:48 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-01-03 09:33:05 +0100 |
commit | f3ee6e63a9df460963bc51a40891cd9b067404f3 (patch) | |
tree | bc0a22af353b3359a300b426464d6cecc3fab52a /drivers/cdrom | |
parent | ab0cf1e425eaa25a1ead68edc69d8644dfae7745 (diff) |
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 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions