]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: iscsi: Clean up bound endpoints during shutdown
authorMike Christie <michael.christie@oracle.com>
Thu, 16 Jun 2022 22:27:35 +0000 (17:27 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:14:53 +0000 (21:14 -0400)
commit191458d481778f452aa0b878606cafeeb9458f5d
tree44e329157060c86e22d04cc597bcc45199ec9216
parent4f4876c6b8c0da0d739dd4a6486ac8d284991271
scsi: iscsi: Clean up bound endpoints during shutdown

In the next patch we allow drivers to drive session removal during
shutdown. In this case iscsid will not be running, so we need to detect
bound endpoints and disconnect them. This moves the bound ep check so we
now always check.

Link: https://lore.kernel.org/r/20220616222738.5722-4-michael.christie@oracle.com
Tested-by: Nilesh Javali <njavali@marvell.com>
Reviewed-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_transport_iscsi.c