We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e98c67 commit 165aa2bCopy full SHA for 165aa2b
drivers/scsi/scsi_transport_iscsi.c
@@ -2200,6 +2200,8 @@ void iscsi_remove_session(struct iscsi_cls_session *session)
2200
scsi_target_unblock(&session->dev, SDEV_TRANSPORT_OFFLINE);
2201
/* flush running scans then delete devices */
2202
flush_work(&session->scan_work);
2203
+ /* flush running unbind operations */
2204
+ flush_work(&session->unbind_work);
2205
__iscsi_unbind_session(&session->unbind_work);
2206
2207
/* hw iscsi may not have removed all connections from session */
0 commit comments