Spelling fixes: Dont => Don't

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Michael Tokarev
2013-12-15 20:42:16 +04:00
committed by Ronnie Sahlberg
parent c606dd50f9
commit 120b308741
29 changed files with 44 additions and 44 deletions

View File

@@ -70,7 +70,7 @@ iscsi_testunitready_cb(struct iscsi_context *iscsi, int status,
}
}
/* Dont fail the login just because there is no medium in the device */
/* Don't fail the login just because there is no medium in the device */
if (status != 0
&& task->sense.key == SCSI_SENSE_NOT_READY
&& (task->sense.ascq == SCSI_SENSE_ASCQ_MEDIUM_NOT_PRESENT
@@ -79,12 +79,12 @@ iscsi_testunitready_cb(struct iscsi_context *iscsi, int status,
status = 0;
}
/* Dont fail the login just because the medium is reserved */
/* Don't fail the login just because the medium is reserved */
if (status == SCSI_STATUS_RESERVATION_CONFLICT) {
status = 0;
}
/* Dont fail the login just because there is a sanitize in progress */
/* Don't fail the login just because there is a sanitize in progress */
if (status != 0
&& task->sense.key == SCSI_SENSE_NOT_READY
&& task->sense.ascq == SCSI_SENSE_ASCQ_SANITIZE_IN_PROGRESS) {
@@ -207,7 +207,7 @@ void iscsi_defer_reconnect(struct iscsi_context *iscsi)
SLIST_REMOVE(&iscsi->outqueue, pdu);
if ( !(pdu->flags & ISCSI_PDU_NO_CALLBACK)) {
/* If an error happened during connect/login,
we dont want to call any of the callbacks.
we don't want to call any of the callbacks.
*/
if (iscsi->is_loggedin) {
pdu->callback(iscsi, SCSI_STATUS_CANCELLED,
@@ -219,7 +219,7 @@ void iscsi_defer_reconnect(struct iscsi_context *iscsi)
while ((pdu = iscsi->waitpdu)) {
SLIST_REMOVE(&iscsi->waitpdu, pdu);
/* If an error happened during connect/login,
we dont want to call any of the callbacks.
we don't want to call any of the callbacks.
*/
if (iscsi->is_loggedin) {
pdu->callback(iscsi, SCSI_STATUS_CANCELLED,
@@ -329,10 +329,10 @@ try_again:
}
if (pdu->flags & ISCSI_PDU_DROP_ON_RECONNECT) {
/* We dont want to requeue things like DATA-OUT since these guys
/* We don't want to requeue things like DATA-OUT since these guys
* will be reissued automatically anyway once the corresponding
* write command is replayed.
* Similarly we dont want to requeue NOPs.
* Similarly we don't want to requeue NOPs.
*/
iscsi_free_pdu(old_iscsi, pdu);
continue;

View File

@@ -187,7 +187,7 @@ iscsi_process_text_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
return -1;
}
} else {
iscsi_set_error(iscsi, "Dont know how to handle "
iscsi_set_error(iscsi, "Don't know how to handle "
"discovery string : %s", ptr);
pdu->callback(iscsi, SCSI_STATUS_ERROR, NULL,
pdu->private_data);

View File

@@ -296,7 +296,7 @@ iscsi_destroy_context(struct iscsi_context *iscsi)
while ((pdu = iscsi->outqueue)) {
SLIST_REMOVE(&iscsi->outqueue, pdu);
if ( !(pdu->flags & ISCSI_PDU_NO_CALLBACK)) {
/* If an error happened during connect/login, we dont want to
/* If an error happened during connect/login, we don't want to
call any of the callbacks.
*/
if (iscsi->is_loggedin) {
@@ -308,7 +308,7 @@ iscsi_destroy_context(struct iscsi_context *iscsi)
}
while ((pdu = iscsi->waitpdu)) {
SLIST_REMOVE(&iscsi->waitpdu, pdu);
/* If an error happened during connect/login, we dont want to
/* If an error happened during connect/login, we don't want to
call any of the callbacks.
*/
if (iscsi->is_loggedin) {

View File

@@ -284,7 +284,7 @@ iscsi_scsi_command_async(struct iscsi_context *iscsi, int lun,
&& pdu->payload_len < (uint32_t)task->expxferlen
&& pdu->payload_len < iscsi->first_burst_length) {
/* We have more data to send, and we are allowed to send
* unsolicited data, so dont flag this PDU as final.
* unsolicited data, so don't flag this PDU as final.
*/
flags &= ~ISCSI_PDU_SCSI_FINAL;
}
@@ -518,7 +518,7 @@ iscsi_process_scsi_data_in(struct iscsi_context *iscsi, struct iscsi_pdu *pdu,
}
dsl = scsi_get_uint32(&in->hdr[4]) & 0x00ffffff;
/* Dont add to reassembly buffer if we already have a user buffer */
/* Don't add to reassembly buffer if we already have a user buffer */
if (task->iovector_in.iov == NULL) {
if (iscsi_add_data(iscsi, &pdu->indata, in->data, dsl, 0) != 0) {
iscsi_set_error(iscsi, "Out-of-memory: failed to add data "

View File

@@ -42,7 +42,7 @@ iscsi_nop_out_async(struct iscsi_context *iscsi, iscsi_command_cb cb,
return -1;
}
/* We dont want to requeue these on reconnect */
/* We don't want to requeue these on reconnect */
pdu->flags |= ISCSI_PDU_DROP_ON_RECONNECT;
/* immediate flag */

View File

@@ -498,7 +498,7 @@ iscsi_process_pdu(struct iscsi_context *iscsi, struct iscsi_in_pdu *in)
is_finished = 0;
break;
default:
iscsi_set_error(iscsi, "Dont know how to handle "
iscsi_set_error(iscsi, "Don't know how to handle "
"opcode 0x%02x", opcode);
return -1;
}

View File

@@ -522,7 +522,7 @@ iscsi_read_from_socket(struct iscsi_context *iscsi)
}
if (in->hdr_pos < ISCSI_HEADER_SIZE) {
/* we dont have the full header yet, so return */
/* we don't have the full header yet, so return */
return 0;
}