Fix problems with rb code
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 504b78db0b0cd6dc1390435f56fd89d6bf19345c..6a3a87b0feb9257c5e38b3f7826fc2ba96d08d31 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -736,6 +736,7 @@ static void *thread_main(void *data)
        INIT_LIST_HEAD(&td->io_u_busylist);
        INIT_LIST_HEAD(&td->io_u_requeues);
        INIT_LIST_HEAD(&td->io_log_list);
+       td->io_hist_tree = RB_ROOT;
 
        if (init_io_u(td))
                goto err_sem;