]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda1c2ae5acf369f1ed2efb1121edc3db42040fe8
tree185a58d4f51f53e0b3fe5a403f01673f830539a3
parenta0f581c8d3acff1559d8d36a4940b18dd2e7a7cf
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