Get rid of __ prefix for internal frand state
[fio.git] / verify.c
index 35d8969624cffb7275f23dd228fab78cecceeebd..f5c009cec5f5355f23db9027e1de50f1d993308c 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -73,7 +73,7 @@ void fill_verify_pattern(struct thread_data *td, void *p, unsigned int len,
                if (use_seed)
                        __fill_random_buf(p, len, seed);
                else
                if (use_seed)
                        __fill_random_buf(p, len, seed);
                else
-                       io_u->rand_seed = fill_random_buf(&td->__verify_state, p, len);
+                       io_u->rand_seed = fill_random_buf(&td->verify_state, p, len);
                return;
        }
 
                return;
        }
 
@@ -1140,9 +1140,9 @@ int get_next_verify(struct thread_data *td, struct io_u *io_u)
                dprint(FD_VERIFY, "get_next_verify: ret io_u %p\n", io_u);
 
                if (!td->o.verify_pattern_bytes) {
                dprint(FD_VERIFY, "get_next_verify: ret io_u %p\n", io_u);
 
                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 *))
                        if (sizeof(int) != sizeof(long *))
-                               io_u->rand_seed *= __rand(&td->__verify_state);
+                               io_u->rand_seed *= __rand(&td->verify_state);
                }
                return 0;
        }
                }
                return 0;
        }