]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
target: rewrite comment for generic_new_cmd
authorAndy Grover <agrover@redhat.com>
Tue, 3 Apr 2012 22:51:21 +0000 (15:51 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:36 +0000 (17:40 -0700)
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c

index 61e85d8546a766cb5ca5a7176fa57664f60f1a9d..a66f81a7d490ebc81dd1181d50b6c733380399d5 100644 (file)
@@ -3766,9 +3766,9 @@ transport_allocate_control_task(struct se_cmd *cmd)
 }
 
 /*
- * Allocate any required ressources to execute the command, and either place
- * it on the execution queue if possible.  For writes we might not have the
- * payload yet, thus notify the fabric via a call to ->write_pending instead.
+ * Allocate any required resources to execute the command.  For writes we
+ * might not have the payload yet, so notify the fabric via a call to
+ * ->write_pending instead. Otherwise place it on the execution queue.
  */
 int transport_generic_new_cmd(struct se_cmd *cmd)
 {