projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966fcbd
)
null context segfault fix
author
dyniusz
<dyniusz@fb.com>
Thu, 4 May 2017 20:52:54 +0000
(13:52 -0700)
committer
dyniusz
<dyniusz@fb.com>
Thu, 4 May 2017 20:52:54 +0000
(13:52 -0700)
engines/null.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/null.c
b/engines/null.c
index 570f75d3a19609cb59b6ac70f444e6b6d2f9b948..8a4d106be75b1879b466dd433ea2469e9bdd8c1b 100644
(file)
--- a/
engines/null.c
+++ b/
engines/null.c
@@
-139,8
+139,7
@@
static void fio_null_cleanup(struct thread_data *td)
static int fio_null_init(struct thread_data *td)
{
- struct null_data *nd = (struct null_data *)td->io_ops_data;
- return null_init(td, &nd);
+ return null_init(td, (struct null_data **)&td->io_ops_data);
}
static struct ioengine_ops ioengine = {