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

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

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