Skip to content

Commit

Permalink
scsi: qla2xxx: Fix logo flag for qlt_free_session_done()
Browse files Browse the repository at this point in the history
Commit 3515832 ("scsi: qla2xxx: Reset the logo flag, after target
re-login.")fixed the target re-login after session relogin is complete,
but missed out the qlt_free_session_done() path.

This patch clears send_els_logo flag in qlt_free_session_done()
callback.

[mkp: checkpatch]

Fixes: 3515832 ("scsi: qla2xxx: Reset the logo flag, after target re-login.")
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Himanshu Madhani authored and Martin K. Petersen committed Jan 23, 2018
1 parent 45596c7 commit a239034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/qla2xxx/qla_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,7 @@ static void qlt_free_session_done(struct work_struct *work)

logo.id = sess->d_id;
logo.cmd_count = 0;
sess->send_els_logo = 0;
qlt_send_first_logo(vha, &logo);
}

Expand Down

0 comments on commit a239034

Please sign in to comment.