aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_erl0.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_erl0.c')
-rw-r--r--drivers/target/iscsi/iscsi_target_erl0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/target/iscsi/iscsi_target_erl0.c b/drivers/target/iscsi/iscsi_target_erl0.c
index 8aacf611b86d..8e6298cc8839 100644
--- a/drivers/target/iscsi/iscsi_target_erl0.c
+++ b/drivers/target/iscsi/iscsi_target_erl0.c
@@ -410,11 +410,11 @@ static int iscsit_dataout_pre_datapduinorder_yes(
410 /* 410 /*
411 * For DataSequenceInOrder=Yes: If the offset is greater than the global 411 * For DataSequenceInOrder=Yes: If the offset is greater than the global
412 * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has 412 * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has
413 * occured and fail the connection. 413 * occurred and fail the connection.
414 * 414 *
415 * For DataSequenceInOrder=No: If the offset is greater than the per 415 * For DataSequenceInOrder=No: If the offset is greater than the per
416 * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol 416 * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol
417 * error has occured and fail the connection. 417 * error has occurred and fail the connection.
418 */ 418 */
419 if (conn->sess->sess_ops->DataSequenceInOrder) { 419 if (conn->sess->sess_ops->DataSequenceInOrder) {
420 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { 420 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) {
@@ -801,7 +801,7 @@ void iscsit_start_time2retain_handler(struct iscsi_session *sess)
801{ 801{
802 int tpg_active; 802 int tpg_active;
803 /* 803 /*
804 * Only start Time2Retain timer when the assoicated TPG is still in 804 * Only start Time2Retain timer when the associated TPG is still in
805 * an ACTIVE (eg: not disabled or shutdown) state. 805 * an ACTIVE (eg: not disabled or shutdown) state.
806 */ 806 */
807 spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock); 807 spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock);