]> git.baikalelectronics.ru Git - kernel.git/commit
compat_ioctl: add scsi_compat_ioctl
authorArnd Bergmann <arnd@arndb.de>
Fri, 15 Mar 2019 15:45:16 +0000 (16:45 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 3 Jan 2020 08:33:18 +0000 (09:33 +0100)
commit819b3b8190678945a03b264e88e73f633637f926
treeecac90083879bc4b6d38a85c3c37aabfb099176f
parent376a5e62247d7d8631902108f74156ba0c2f9d4e
compat_ioctl: add scsi_compat_ioctl

In order to move the compat handling for SCSI ioctl commands out of
fs/compat_ioctl.c into the individual drivers, we need a helper function
first to match the native ioctl handler called by sd, sr, st, etc.

Reviewed-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/scsi/scsi_ioctl.c
include/scsi/scsi_ioctl.h