On Thu, Aug 19, 2021 at 02:33:27PM -0700, Luis Chamberlain wrote: > - retval = scsi_ioctl(STp->device, STp->disk, file->f_mode, cmd_in, p); > + retval = scsi_ioctl(STp->device, NULL, file->f_mode, cmd_in, p); Only in linux-next. The change to pass the gendisk to scsi_ioctl is only in the scsi tree, not the block tree.