scsi: scsi_ioctl: Factor SG_IO handling into a helper
authorChristoph Hellwig <hch@lst.de>
Sat, 24 Jul 2021 07:20:32 +0000 (09:20 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Jul 2021 02:24:27 +0000 (22:24 -0400)
commitb2123d3b0987a2164e5bef116cafe19ac2281e34
treea0c92e4fb567da0b2c366aad8ad5b1e247ac0a0b
parent2102a5cc1233ff84a0ebf95bbc4d346eb4927c8f
scsi: scsi_ioctl: Factor SG_IO handling into a helper

Split the SG_IO handler from the main scsi_ioctl() routine.

Link: https://lore.kernel.org/r/20210724072033.1284840-24-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_ioctl.c