Skip to content

Commit 41bfcf9

Browse files
sswenJames Bottomley
authored andcommitted
[SCSI] zfcp: fix double dbf id usage
Trace ids 107 and 3 are used twice, fix this to have unique ids for the erp triggers. Signed-off-by: Swen Schillig <[email protected]> Signed-off-by: Christof Schmitt <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent 091694a commit 41bfcf9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/s390/scsi/zfcp_dbf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ static const char *zfcp_rec_dbf_ids[] = {
572572
[81] = "shared read-write unit access unsupported",
573573
[82] = "incoming rscn",
574574
[83] = "incoming wwpn",
575-
[84] = "",
575+
[84] = "wka port handle not valid close port",
576576
[85] = "online",
577577
[86] = "offline",
578578
[87] = "ccw device gone",

drivers/s390/scsi/zfcp_erp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ void zfcp_erp_thread_kill(struct zfcp_adapter *adapter)
14431443
{
14441444
atomic_set_mask(ZFCP_STATUS_ADAPTER_ERP_THREAD_KILL, &adapter->status);
14451445
up(&adapter->erp_ready_sem);
1446-
zfcp_rec_dbf_event_thread_lock(2, adapter);
1446+
zfcp_rec_dbf_event_thread_lock(3, adapter);
14471447

14481448
wait_event(adapter->erp_thread_wqh,
14491449
!(atomic_read(&adapter->status) &

drivers/s390/scsi/zfcp_fsf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,7 @@ static void zfcp_fsf_close_wka_port_handler(struct zfcp_fsf_req *req)
16411641

16421642
if (req->qtcb->header.fsf_status == FSF_PORT_HANDLE_NOT_VALID) {
16431643
req->status |= ZFCP_STATUS_FSFREQ_ERROR;
1644-
zfcp_erp_adapter_reopen(wka_port->adapter, 0, 107, req);
1644+
zfcp_erp_adapter_reopen(wka_port->adapter, 0, 84, req);
16451645
}
16461646

16471647
wka_port->status = ZFCP_WKA_PORT_OFFLINE;

0 commit comments

Comments
 (0)