diff options
author | Masanari Iida <standby24x7@gmail.com> | 2012-08-27 09:46:00 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-19 08:17:31 -0500 |
commit | 20879696b7660b6c4115a913e39f890d5bbd1f81 (patch) | |
tree | e1afc438b51642227118385c8e45b12cf2ca9fa7 | |
parent | 02582e9bcc36ed503ffede46e104a885dea222fb (diff) |
target: iscsi: fix comment typos in target/iscsi drivers
Correct spelling typo in printk and comment within target/iscsi drivers
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/target/iscsi/iscsi_target_configfs.c | 2 | ||||
-rw-r--r-- | drivers/target/iscsi/iscsi_target_erl0.c | 6 | ||||
-rw-r--r-- | drivers/target/iscsi/iscsi_target_util.c | 2 |
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) | |||
666 | void iscsit_free_cmd(struct iscsi_cmd *cmd) | 666 | void 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) { |