summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_erl1.c
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-04-04 00:51:01 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-04-15 02:40:33 +0200
commit2fbb471e7821e3a12334054cd90aa3f3edb22cc3 (patch)
treec9937293332a96574b739a9e7cc77a9e13df9ea2 /drivers/target/iscsi/iscsi_target_erl1.c
parenttarget: Remove transport_do_task_sg_chain() and associated detritus (diff)
downloadlinux-2fbb471e7821e3a12334054cd90aa3f3edb22cc3.tar.xz
linux-2fbb471e7821e3a12334054cd90aa3f3edb22cc3.zip
target/iscsi: Rename iscsi_cmd.i_list to iscsi_cmd.i_conn_node
The name change makes it clear this list_head is so the cmd can be an item in the connection's conn_cmd_list. 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_erl1.c')
-rw-r--r--drivers/target/iscsi/iscsi_target_erl1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_erl1.c b/drivers/target/iscsi/iscsi_target_erl1.c
index 006f605edb08..f6d1a23875a0 100644
--- a/drivers/target/iscsi/iscsi_target_erl1.c
+++ b/drivers/target/iscsi/iscsi_target_erl1.c
@@ -526,7 +526,7 @@ int iscsit_handle_status_snack(
found_cmd = 0;
spin_lock_bh(&conn->cmd_lock);
- list_for_each_entry(cmd, &conn->conn_cmd_list, i_list) {
+ list_for_each_entry(cmd, &conn->conn_cmd_list, i_conn_node) {
if (cmd->stat_sn == begrun) {
found_cmd = 1;
break;