target/iscsi: Move init_se_cmd closer to lookup_cmd_lun
authorAndy Grover <agrover@redhat.com>
Tue, 3 Apr 2012 22:51:23 +0000 (15:51 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:37 +0000 (17:40 -0700)
commit065ca1e42ffd74dd03cf60f61cead35934c91ed5
tree0b346d469892ba835b8bb85f23b74c490c6d3af3
parentd28b11692e6ec577cec70606d793e14843124a03
target/iscsi: Move init_se_cmd closer to lookup_cmd_lun

if we can get calls to init_se_cmd, get_sess_cmd, lookup_cmd_lun,
core_alua_check_nonop_delay, and handle_cdb_direct next to each other,
then we can just call target_submit_cmd. This is a step towards that
goal.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c