init: use o-> instead of td->o
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Jun 2018 14:51:07 +0000 (08:51 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Jun 2018 14:51:07 +0000 (08:51 -0600)
We already have the options pointer, just use it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c

diff --git a/init.c b/init.c
index 02793dd..353c99b 100644 (file)
--- a/init.c
+++ b/init.c
@@ -672,8 +672,8 @@ static int fixup_options(struct thread_data *td)
                if (!o->start_delay_orig)
                        o->start_delay_orig = o->start_delay;
                o->start_delay = rand_between(&td->delay_state,
-                                               td->o.start_delay_orig,
-                                               td->o.start_delay_high);
+                                               o->start_delay_orig,
+                                               o->start_delay_high);
        }
 
        if (o->norandommap && o->verify != VERIFY_NONE