Get rid of __ prefix for internal frand state
[fio.git] / backend.c
index 941a3ead9b63acfc07170f04d9a83f02c072d30b..cae4e38de4b9fb3adc871863558dd1230bba32b2 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -753,9 +753,9 @@ static uint64_t do_io(struct thread_data *td)
                    ((io_u->flags & IO_U_F_VER_LIST) || !td_rw(td))) {
 
                        if (!td->o.verify_pattern_bytes) {
-                               io_u->rand_seed = __rand(&td->__verify_state);
+                               io_u->rand_seed = __rand(&td->verify_state);
                                if (sizeof(int) != sizeof(long *))
-                                       io_u->rand_seed *= __rand(&td->__verify_state);
+                                       io_u->rand_seed *= __rand(&td->verify_state);
                        }
 
                        if (td->o.verify_async)
@@ -1981,7 +1981,7 @@ static void wait_for_helper_thread_exit(void)
 {
        void *ret;
 
-       disk_util_start_exit();
+       helper_exit = 1;
        pthread_cond_signal(&helper_cond);
        pthread_join(helper_thread, &ret);
 }