Commit 4240d448 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: target/core: Fix spelling in two source code comments

Change one occurrence of "aleady" into "already" and one occurrence of
"is" into "if".
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 33b3f8ca
...@@ -2012,7 +2012,7 @@ void target_execute_cmd(struct se_cmd *cmd) ...@@ -2012,7 +2012,7 @@ void target_execute_cmd(struct se_cmd *cmd)
* Determine if frontend context caller is requesting the stopping of * Determine if frontend context caller is requesting the stopping of
* this command for frontend exceptions. * this command for frontend exceptions.
* *
* If the received CDB has aleady been aborted stop processing it here. * If the received CDB has already been aborted stop processing it here.
*/ */
spin_lock_irq(&cmd->t_state_lock); spin_lock_irq(&cmd->t_state_lock);
if (__transport_check_aborted_status(cmd, 1)) { if (__transport_check_aborted_status(cmd, 1)) {
...@@ -2516,7 +2516,7 @@ transport_generic_new_cmd(struct se_cmd *cmd) ...@@ -2516,7 +2516,7 @@ transport_generic_new_cmd(struct se_cmd *cmd)
} }
/* /*
* Determine is the TCM fabric module has already allocated physical * Determine if the TCM fabric module has already allocated physical
* memory, and is directly calling transport_generic_map_mem_to_cmd() * memory, and is directly calling transport_generic_map_mem_to_cmd()
* beforehand. * beforehand.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment