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>
This commit is contained in:

committed by
Nicholas Bellinger

parent
957525a242
commit
2fbb471e78
@@ -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;
|
||||
|
Reference in New Issue
Block a user