diff options
author | Andy Grover <agrover@redhat.com> | 2012-04-03 18:51:25 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-04-14 20:40:38 -0400 |
commit | 4334e49bcae6f4602eb5c52158b8fb89d8941d99 (patch) | |
tree | 33c0ba79b0d172e21aac919675d1a49bbbef8935 /drivers/target/iscsi/iscsi_target.c | |
parent | ebf1d95ca297a06fe760177b614646dcec06abef (diff) |
target/iscsi: Fold _decide_list_to_build into _build_pdu_and_seq_lists
Rename iscsit_build_pdu_and_seq_list to iscsit_do_build_pdu_and_seq_lists
Rename iscsit_do_build_list to iscsit_build_pdu_and_seq_lists
Move code from iscsit_decide_list_to_build into _seq_pdu_list.c, seems
a better fit.
Also update some comments in pdu/seq code for correctness and whitespace.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target.c')
-rw-r--r-- | drivers/target/iscsi/iscsi_target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c index a29a1bb279d5..e9cc08774732 100644 --- a/drivers/target/iscsi/iscsi_target.c +++ b/drivers/target/iscsi/iscsi_target.c | |||
@@ -1060,7 +1060,7 @@ done: | |||
1060 | */ | 1060 | */ |
1061 | send_check_condition = 1; | 1061 | send_check_condition = 1; |
1062 | } else { | 1062 | } else { |
1063 | if (iscsit_decide_list_to_build(cmd, payload_length) < 0) | 1063 | if (iscsit_build_pdu_and_seq_lists(cmd, payload_length) < 0) |
1064 | return iscsit_add_reject_from_cmd( | 1064 | return iscsit_add_reject_from_cmd( |
1065 | ISCSI_REASON_BOOKMARK_NO_RESOURCES, | 1065 | ISCSI_REASON_BOOKMARK_NO_RESOURCES, |
1066 | 1, 1, buf, cmd); | 1066 | 1, 1, buf, cmd); |