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 f306f06 commit 80dfdacCopy full SHA for 80dfdac
drivers/scsi/libiscsi.c
@@ -1945,7 +1945,7 @@ enum blk_eh_timer_return iscsi_eh_cmd_timed_out(struct scsi_cmnd *sc)
1945
1946
ISCSI_DBG_EH(session, "scsi cmd %p timedout\n", sc);
1947
1948
- spin_lock(&session->frwd_lock);
+ spin_lock_bh(&session->frwd_lock);
1949
task = (struct iscsi_task *)sc->SCp.ptr;
1950
if (!task) {
1951
/*
@@ -2072,7 +2072,7 @@ enum blk_eh_timer_return iscsi_eh_cmd_timed_out(struct scsi_cmnd *sc)
2072
done:
2073
if (task)
2074
task->last_timeout = jiffies;
2075
- spin_unlock(&session->frwd_lock);
+ spin_unlock_bh(&session->frwd_lock);
2076
ISCSI_DBG_EH(session, "return %s\n", rc == BLK_EH_RESET_TIMER ?
2077
"timer reset" : "shutdown or nh");
2078
return rc;
0 commit comments