Change ust app clean list loop
authorDavid Goulet <david.goulet@polymtl.ca>
Mon, 28 Nov 2011 19:57:12 +0000 (14:57 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 28 Nov 2011 19:57:12 +0000 (14:57 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/ust-app.c

index d36cf8893535a24f8583638e25f342b2e33f05b7..51ae71c4f1f0c94319d7b0edad7bf99881d46386 100644 (file)
@@ -1160,9 +1160,7 @@ void ust_app_clean_list(void)
 
        rcu_read_lock();
 
-       cds_lfht_for_each(ust_app_ht, &iter, node) {
-               app = caa_container_of(node, struct ust_app, node);
-
+       cds_lfht_for_each_entry(ust_app_ht, &iter, app, node) {
                ret = hashtable_del(ust_app_ht, &iter);
                if (!ret) {
                        call_rcu(&node->head, delete_ust_app_rcu);
This page took 0.033351 seconds and 4 git commands to generate.