target: Rename target_allocate_tasks to target_setup_cmd_from_cdb
authorAndy Grover <agrover@redhat.com>
Tue, 3 Apr 2012 22:51:20 +0000 (15:51 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:36 +0000 (17:40 -0700)
commita12f41f8412ff57057906ebbe146fda37db158ac
treee3138df9188c5fff3156e53c8f6781240ee062cb
parent8b1e1244db85d58f7c612870ec2c1afd9098ae93
target: Rename target_allocate_tasks to target_setup_cmd_from_cdb

This patch renames a horribly misnamed function that no longer allocate
tasks to something more descriptive for it's modern use in target core.

(nab: Fix up ib_srpt to use this as well ahead of a target_submit_cmd
conversion)

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/target/iscsi/iscsi_target.c
drivers/target/loopback/tcm_loop.c
drivers/target/target_core_transport.c
include/target/target_core_fabric.h