aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-15 17:16:36 +0100
committerArnd Bergmann <arnd@arndb.de>2019-10-23 17:23:47 +0200
commit1b114b0817cc1d4110a885ea7026e223df66ed71 (patch)
tree21626ea57c0215e56acffbac889e6f82d9bee27c /drivers/scsi/sd.c
parentcompat_ioctl: move SG_GET_REQUEST_TABLE handling (diff)
downloadlinux-dev-1b114b0817cc1d4110a885ea7026e223df66ed71.tar.xz
linux-dev-1b114b0817cc1d4110a885ea7026e223df66ed71.zip
pktcdvd: add compat_ioctl handler
pkt_ioctl() implements the generic SCSI_IOCTL_SEND_COMMAND and some cdrom ioctls by forwarding to the underlying block device. For compat_ioctl handling, this always takes a roundtrip through fs/compat_ioctl.c that we should try to avoid, at least for the compatible commands. CDROM_SEND_PACKET is an exception here, it requires special translation in compat_blkdev_driver_ioctl(). CDROM_LAST_WRITTEN has no compat handling at the moment. Cc: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions