[PATCH 3/9] sg: do not allocate a gendisk

Christoph Hellwig hch at lst.de
Thu Aug 19 21:05:00 PDT 2021


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.



More information about the Linux-nvme mailing list