]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: sd: enable compat ioctls for sed-opal
authorArnd Bergmann <arnd@arndb.de>
Fri, 15 Mar 2019 12:46:11 +0000 (13:46 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:47 +0000 (17:23 +0200)
commitd4918d0ad4bb274465a08cf7a958dd6ce7f44e5c
tree530aafe9b1439b1018a82a494b1eda8719f7aa10
parentf9240bf416345509e6e64119b2297ec4de515b6d
scsi: sd: enable compat ioctls for sed-opal

The sed_ioctl() function is written to be compatible between
32-bit and 64-bit processes, however compat mode is only
wired up for nvme, not for sd.

Add the missing call to sed_ioctl() in sd_compat_ioctl().

Fixes: cc25a548b4c9 ("sd: add support for TCG OPAL self encrypting disks")
Cc: linux-scsi@vger.kernel.org
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/scsi/sd.c