aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/target/iscsi/iscsi_target_configfs.c2
-rw-r--r--drivers/target/iscsi/iscsi_target_erl0.c6
-rw-r--r--drivers/target/iscsi/iscsi_target_util.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c
index ff6fd4fb624d..0f03b7919d7c 100644
--- a/drivers/target/iscsi/iscsi_target_configfs.c
+++ b/drivers/target/iscsi/iscsi_target_configfs.c
@@ -235,7 +235,7 @@ static struct se_tpg_np *lio_target_call_addnptotpg(
235 * iSER/SCTP (TODO, software emulation with osc-iwarp) 235 * iSER/SCTP (TODO, software emulation with osc-iwarp)
236 * iSER/IB (TODO, hardware available) 236 * iSER/IB (TODO, hardware available)
237 * 237 *
238 * can be enabled with atributes under 238 * can be enabled with attributes under
239 * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/ 239 * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/
240 * 240 *
241 */ 241 */
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);
diff --git a/drivers/target/iscsi/iscsi_target_util.c b/drivers/target/iscsi/iscsi_target_util.c
index afd98ccd40ae..c8dab6c7b5dc 100644
--- a/drivers/target/iscsi/iscsi_target_util.c
+++ b/drivers/target/iscsi/iscsi_target_util.c
@@ -666,7 +666,7 @@ void iscsit_release_cmd(struct iscsi_cmd *cmd)
666void iscsit_free_cmd(struct iscsi_cmd *cmd) 666void iscsit_free_cmd(struct iscsi_cmd *cmd)
667{ 667{
668 /* 668 /*
669 * Determine if a struct se_cmd is assoicated with 669 * Determine if a struct se_cmd is associated with
670 * this struct iscsi_cmd. 670 * this struct iscsi_cmd.
671 */ 671 */
672 switch (cmd->iscsi_opcode) { 672 switch (cmd->iscsi_opcode) {