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 f1e062e commit 58ad2f1Copy full SHA for 58ad2f1
drivers/scsi/scsi_transport_iscsi.c
@@ -2185,6 +2185,8 @@ void iscsi_remove_session(struct iscsi_cls_session *session)
2185
scsi_target_unblock(&session->dev, SDEV_TRANSPORT_OFFLINE);
2186
/* flush running scans then delete devices */
2187
flush_work(&session->scan_work);
2188
+ /* flush running unbind operations */
2189
+ flush_work(&session->unbind_work);
2190
__iscsi_unbind_session(&session->unbind_work);
2191
2192
/* hw iscsi may not have removed all connections from session */
0 commit comments