Changeset ee830a52eeb6e78d497475d6666af666b2345fba

Show
Ignore:
Timestamp:
11/08/10 02:17:39 (3 years ago)
Author:
Nedko Arnaudov <nedko@…>
Children:
a608c373e62619c5c34e12fce9d611e4d397da8b
Parents:
bea7c694e008ff9095e18e746d1c6bdd9e0f5ec8
git-committer:
Nedko Arnaudov <nedko@arnaudov.name> / 2010-11-08T02:17:39Z+0200
Message:

ladishd: actually remove app ports, simply logging does not make it happen

Location:
daemon
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • daemon/graph.c

    r6c2201b ree830a5  
    22022202  void * client_context; 
    22032203  struct list_head * port_node_ptr; 
     2204  struct list_head * port_temp_node_ptr; 
    22042205  struct ladish_graph_port * port_ptr; 
    22052206 
     
    22302231    } 
    22312232 
    2232     list_for_each(port_node_ptr, &client_ptr->ports) 
     2233    list_for_each_safe(port_node_ptr, port_temp_node_ptr, &client_ptr->ports) 
    22332234    { 
    22342235      port_ptr = list_entry(port_node_ptr, struct ladish_graph_port, siblings_client); 
  • daemon/virtualizer.c

    r6c2201b ree830a5  
    12441244    ladish_graph_get_description(vgraph)); 
    12451245 
     1246  ladish_graph_remove_port(graph_handle, port_handle); 
     1247  ladish_graph_remove_port(vgraph, port_handle); 
     1248 
    12461249  return true; 
    12471250}