summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-04-04 00:51:21 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-04-15 02:40:36 +0200
commitb16a35b050e70c8376250b563785e3038c4b6393 (patch)
tree9985d1ce229d39fbe4ccd3539a093d0b59aa17b1 /drivers/target
parenttarget: Rename target_allocate_tasks to target_setup_cmd_from_cdb (diff)
downloadlinux-b16a35b050e70c8376250b563785e3038c4b6393.tar.xz
linux-b16a35b050e70c8376250b563785e3038c4b6393.zip
target: rewrite comment for generic_new_cmd
Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_transport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 61e85d8546a7..a66f81a7d490 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -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)
{