projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
386501b
)
init: use o-> instead of td->o
author
Jens Axboe
<axboe@kernel.dk>
Tue, 12 Jun 2018 14:51:07 +0000
(08:51 -0600)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 02793dd893846b3813cdc5038e1a65ebfdf525b6..353c99bd56bfeeb1a1394b5d700b71087b2e6eae 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