scsi: scsi_ioctl: Consolidate the START STOP UNIT handling
authorChristoph Hellwig <hch@lst.de>
Sat, 24 Jul 2021 07:20:30 +0000 (09:20 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Jul 2021 02:24:27 +0000 (22:24 -0400)
commit514761874350b2804ce5027606efc412f0bc78f3
tree185a58d4f51f53e0b3fe5a403f01673f830539a3
parenta9705477f552c1c9a2da8e94bb9914086f7798bf
scsi: scsi_ioctl: Consolidate the START STOP UNIT handling

Factor out a helper for the various flavors of START STOP UNIT command
ioctls.

Link: https://lore.kernel.org/r/20210724072033.1284840-22-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