Skip to content
  • Arnd Bergmann's avatar
    scsi: sd: enable compat ioctls for sed-opal · 142b2ac8
    Arnd Bergmann authored
    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: d80210f2
    
     ("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: default avatarArnd Bergmann <arnd@arndb.de>
    142b2ac8