scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
authorChristoph Hellwig <hch@lst.de>
Sat, 24 Jul 2021 07:20:10 +0000 (09:20 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Jul 2021 02:24:10 +0000 (22:24 -0400)
commitbeec64d0c9749afedf51c3c10cf52de1d9a89cc0
tree282959c8d274c72e9caca100f13cc9ded7c84cb9
parent9798c653547d35cebef59d35edbbc269d85fb1b3
scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND

SCSI_IOCTL_SEND_COMMAND has been deprecated longer than bsg exists and has
been warning for just as long.  More importantly it harcodes SCSI CDBs and
thus will do the wrong thing on non-SCSI bsg nodes.

Link: https://lore.kernel.org/r/20210724072033.1284840-2-hch@lst.de
Fixes: aa387cc89567 ("block: add bsg helper library")
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bsg.c