assert(conn == cmnd->conn);
BUG_ON(conn != cmnd->conn);
static void iscsi_cmnds_init_write(struct list_head *send){	struct iscsi_cmnd *cmnd = list_entry(send->next, struct iscsi_cmnd, list);	struct iscsi_conn *conn = cmnd->conn;	struct list_head *pos, *next;	spin_lock(&conn->list_lock);	list_for_each_safe(pos, next, send) {		cmnd = list_entry(pos, struct iscsi_cmnd, list);		dprintk(D_GENERIC, "%p:%x\n", cmnd, cmnd_opcode(cmnd));		list_del_init(&cmnd->list);		assert(conn == cmnd->conn);		list_add_tail(&cmnd->list, &conn->write_list);	}	spin_unlock(&conn->list_lock);	nthread_wakeup(conn->session->target);}