Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344730
b: refs/heads/master
c: 1f981de
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Nov 7, 2012
1 parent e8810be commit 6f8c7ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48c2567d1a10b5a2cab72b37775b886b08f88726
refs/heads/master: 1f981de55a46777ca0da93af5faf7d3f6e7e7000
3 changes: 1 addition & 2 deletions trunk/drivers/target/iscsi/iscsi_target_tq.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ static struct iscsi_thread_set *iscsi_get_ts_from_inactive_list(void)
return NULL;
}

list_for_each_entry(ts, &inactive_ts_list, ts_list)
break;
ts = list_first_entry(&inactive_ts_list, struct iscsi_thread_set, ts_list);

list_del(&ts->ts_list);
iscsit_global->inactive_ts--;
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/target/iscsi/iscsi_target_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ struct iscsi_queue_req *iscsit_get_cmd_from_immediate_queue(struct iscsi_conn *c
spin_unlock_bh(&conn->immed_queue_lock);
return NULL;
}
list_for_each_entry(qr, &conn->immed_queue_list, qr_list)
break;
qr = list_first_entry(&conn->immed_queue_list,
struct iscsi_queue_req, qr_list);

list_del(&qr->qr_list);
if (qr->cmd)
Expand Down Expand Up @@ -575,8 +575,8 @@ struct iscsi_queue_req *iscsit_get_cmd_from_response_queue(struct iscsi_conn *co
return NULL;
}

list_for_each_entry(qr, &conn->response_queue_list, qr_list)
break;
qr = list_first_entry(&conn->response_queue_list,
struct iscsi_queue_req, qr_list);

list_del(&qr->qr_list);
if (qr->cmd)
Expand Down

0 comments on commit 6f8c7ea

Please sign in to comment.